diff options
author | Lukas Czerner <lczerner@redhat.com> | 2013-05-21 23:26:36 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-05-21 23:26:36 -0400 |
commit | d8c8900ac113d2b2b3d382acda198b4ae29b1b51 (patch) | |
tree | 7d5874b39bd61a2d31ff3dbf537cddd4b5b5e20a /include/linux/jbd.h | |
parent | ca99fdd26b450cfc1dbcb6b01e1753ee5e6c88e0 (diff) | |
download | linux-stable-d8c8900ac113d2b2b3d382acda198b4ae29b1b51.tar.gz linux-stable-d8c8900ac113d2b2b3d382acda198b4ae29b1b51.tar.bz2 linux-stable-d8c8900ac113d2b2b3d382acda198b4ae29b1b51.zip |
jbd: change journal_invalidatepage() to accept length
->invalidatepage() aop now accepts range to invalidate so we can make
use of it in journal_invalidatepage() and all the users in ext3 file
system. Also update ext3 trace point to print out length argument.
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/jbd.h')
-rw-r--r-- | include/linux/jbd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/jbd.h b/include/linux/jbd.h index 7e0b622503c4..9c505f1aa1fd 100644 --- a/include/linux/jbd.h +++ b/include/linux/jbd.h @@ -840,7 +840,7 @@ extern void journal_release_buffer (handle_t *, struct buffer_head *); extern int journal_forget (handle_t *, struct buffer_head *); extern void journal_sync_buffer (struct buffer_head *); extern void journal_invalidatepage(journal_t *, - struct page *, unsigned long); + struct page *, unsigned int, unsigned int); extern int journal_try_to_free_buffers(journal_t *, struct page *, gfp_t); extern int journal_stop(handle_t *); extern int journal_flush (journal_t *); |