Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

reiserfs: remove useless superblock dirtying

The 'reiserfs_resize()' function marks the superblock as dirty by assigning 1
to 's_dirt' and then calls 'journal_mark_dirty()' which does the same. Thus,
we can remove the assignment from 'reiserfs_resize()'.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

authored by

Artem Bityutskiy and committed by
Al Viro
717f03c4 25729b0e

-1
-1
fs/reiserfs/resize.c
··· 200 200 (bmap_nr_new - bmap_nr))); 201 201 PUT_SB_BLOCK_COUNT(s, block_count_new); 202 202 PUT_SB_BMAP_NR(s, bmap_would_wrap(bmap_nr_new) ? : bmap_nr_new); 203 - s->s_dirt = 1; 204 203 205 204 journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB(s)); 206 205