Whamcloud - gitweb
ext2fs_set_gdt_csum(): Clean up superblock dirty flag handling
authorAndreas Dilger <adilger@dilger.ca>
Mon, 31 Mar 2008 04:40:51 +0000 (00:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 31 Mar 2008 18:28:37 +0000 (14:28 -0400)
commit80fc4e698a308de22ace6179f45e0bb67befa74b
tree6dac018249fca54388109e85054297348f397435
parentcf96ecf13ff883ccff9e90ac069b866f61d653ba
ext2fs_set_gdt_csum(): Clean up superblock dirty flag handling

Only mark the superblock as dirty if the function actually managed to
change part of the block group descriptor.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/csum.c