OSDN Git Service

ext4: add new ext4_mark_group_bitmap_corrupted() helper
authorWang Shilong <wshilong@ddn.com>
Sat, 12 May 2018 15:39:40 +0000 (11:39 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 12 May 2018 15:39:40 +0000 (11:39 -0400)
commitdb79e6d1fb1f715c961bd880101362e07369de23
treec2030b521e7fdb8c82f39830975d6ab97c76afc2
parent0db9fdeb347c10f64b679577f2640c9e35ea5a30
ext4: add new ext4_mark_group_bitmap_corrupted() helper

Since there are many places to set inode/block bitmap
corrupt bit, add a new helper for it, which will make
codes more clear.

Signed-off-by: Wang Shilong <wshilong@ddn.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
fs/ext4/balloc.c
fs/ext4/ext4.h
fs/ext4/ialloc.c
fs/ext4/mballoc.c
fs/ext4/super.c