diff options
author | Jeff Mahoney <jeffm@suse.com> | 2014-04-23 16:00:37 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2014-05-06 23:05:40 +0200 |
commit | 706a5323384d9ae973a72005b73987d39e009019 (patch) | |
tree | 19d0e910cf9ab5754f2e8eebc60a851ca7ebe660 /fs/reiserfs/resize.c | |
parent | reiserfs: cleanup, reformat comments to normal kernel style (diff) | |
download | linux-706a5323384d9ae973a72005b73987d39e009019.tar.xz linux-706a5323384d9ae973a72005b73987d39e009019.zip |
reiserfs: cleanup, remove nblocks argument from journal_end
journal_end takes a block count argument but doesn't actually use it
for anything. We can remove it.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/reiserfs/resize.c')
-rw-r--r-- | fs/reiserfs/resize.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/reiserfs/resize.c b/fs/reiserfs/resize.c index 037b00c40f1f..2e3f003027aa 100644 --- a/fs/reiserfs/resize.c +++ b/fs/reiserfs/resize.c @@ -182,7 +182,7 @@ int reiserfs_resize(struct super_block *s, unsigned long block_count_new) info = SB_AP_BITMAP(s) + bmap_nr - 1; bh = reiserfs_read_bitmap_block(s, bmap_nr - 1); if (!bh) { - int jerr = journal_end(&th, s, 10); + int jerr = journal_end(&th, s); if (jerr) return jerr; return -EIO; @@ -200,7 +200,7 @@ int reiserfs_resize(struct super_block *s, unsigned long block_count_new) info = SB_AP_BITMAP(s) + bmap_nr_new - 1; bh = reiserfs_read_bitmap_block(s, bmap_nr_new - 1); if (!bh) { - int jerr = journal_end(&th, s, 10); + int jerr = journal_end(&th, s); if (jerr) return jerr; return -EIO; @@ -225,5 +225,5 @@ int reiserfs_resize(struct super_block *s, unsigned long block_count_new) journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB(s)); SB_JOURNAL(s)->j_must_wait = 1; - return journal_end(&th, s, 10); + return journal_end(&th, s); } |