aboutsummaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/resize.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2014-04-23 10:00:39 -0400
committerJan Kara <jack@suse.cz>2014-05-06 17:10:37 -0400
commit09f1b80ba8c967b6e17c0516e95578d5da18115f (patch)
tree73292ba9941be885d1d7d0652a20a5dd2a2964ca /fs/reiserfs/resize.c
parent58d854265c4c7d9792ecb5aa5ef67ba79b1a4c12 (diff)
reiserfs: cleanup, remove sb argument from journal_mark_dirty
journal_mark_dirty 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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/reiserfs/resize.c b/fs/reiserfs/resize.c
index 99eb32596c6e..6052d323bc9a 100644
--- a/fs/reiserfs/resize.c
+++ b/fs/reiserfs/resize.c
@@ -193,7 +193,7 @@ int reiserfs_resize(struct super_block *s, unsigned long block_count_new)
193 reiserfs_clear_le_bit(i, bh->b_data); 193 reiserfs_clear_le_bit(i, bh->b_data);
194 info->free_count += s->s_blocksize * 8 - block_r; 194 info->free_count += s->s_blocksize * 8 - block_r;
195 195
196 journal_mark_dirty(&th, s, bh); 196 journal_mark_dirty(&th, bh);
197 brelse(bh); 197 brelse(bh);
198 198
199 /* Correct new last bitmap block - It may not be full */ 199 /* Correct new last bitmap block - It may not be full */
@@ -209,7 +209,7 @@ int reiserfs_resize(struct super_block *s, unsigned long block_count_new)
209 reiserfs_prepare_for_journal(s, bh, 1); 209 reiserfs_prepare_for_journal(s, bh, 1);
210 for (i = block_r_new; i < s->s_blocksize * 8; i++) 210 for (i = block_r_new; i < s->s_blocksize * 8; i++)
211 reiserfs_set_le_bit(i, bh->b_data); 211 reiserfs_set_le_bit(i, bh->b_data);
212 journal_mark_dirty(&th, s, bh); 212 journal_mark_dirty(&th, bh);
213 brelse(bh); 213 brelse(bh);
214 214
215 info->free_count -= s->s_blocksize * 8 - block_r_new; 215 info->free_count -= s->s_blocksize * 8 - block_r_new;
@@ -222,7 +222,7 @@ int reiserfs_resize(struct super_block *s, unsigned long block_count_new)
222 PUT_SB_BLOCK_COUNT(s, block_count_new); 222 PUT_SB_BLOCK_COUNT(s, block_count_new);
223 PUT_SB_BMAP_NR(s, bmap_would_wrap(bmap_nr_new) ? : bmap_nr_new); 223 PUT_SB_BMAP_NR(s, bmap_would_wrap(bmap_nr_new) ? : bmap_nr_new);
224 224
225 journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB(s)); 225 journal_mark_dirty(&th, SB_BUFFER_WITH_SB(s));
226 226
227 SB_JOURNAL(s)->j_must_wait = 1; 227 SB_JOURNAL(s)->j_must_wait = 1;
228 return journal_end(&th); 228 return journal_end(&th);