diff options
author | Jeff Mahoney <jeffm@suse.com> | 2014-04-23 16:00:38 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2014-05-06 23:08:00 +0200 |
commit | 58d854265c4c7d9792ecb5aa5ef67ba79b1a4c12 (patch) | |
tree | 413b08fdf616386f153a3f6681c6336490cb10e5 /fs/reiserfs/resize.c | |
parent | reiserfs: cleanup, remove nblocks argument from journal_end (diff) | |
download | linux-58d854265c4c7d9792ecb5aa5ef67ba79b1a4c12.tar.xz linux-58d854265c4c7d9792ecb5aa5ef67ba79b1a4c12.zip |
reiserfs: cleanup, remove sb argument from journal_end
journal_end doesn't need a separate sb argument; it's provided by the
transaction handle.
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 2e3f003027aa..99eb32596c6e 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); + int jerr = journal_end(&th); 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); + int jerr = journal_end(&th); 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); + return journal_end(&th); } |