On 04/09, Yunlei He wrote: > nat bits feature is recover default by fsck, no need to > set SBI_NEED_FSCK flag. > > Signed-off-by: Yunlei He <[email protected]> > --- > fs/f2fs/f2fs.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h > index 1df7f10..0ffaefc2 100644 > --- a/fs/f2fs/f2fs.h > +++ b/fs/f2fs/f2fs.h > @@ -1520,8 +1520,6 @@ static inline void disable_nat_bits(struct f2fs_sb_info > *sbi, bool lock) > { > unsigned long flags; > > - set_sbi_flag(sbi, SBI_NEED_FSCK); > -
In order to support old fsck.f2fs, we need to keep this. > if (lock) > spin_lock_irqsave(&sbi->cp_lock, flags); > __clear_ckpt_flags(F2FS_CKPT(sbi), CP_NAT_BITS_FLAG); > -- > 1.9.1 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
