Re: [PATCH] f2fs: fix to recover inode's uid/gid during POR

From: Christoph Hellwig
Date: Fri Sep 21 2018 - 02:06:37 EST


On Thu, Sep 20, 2018 at 05:41:30PM +0800, Chao Yu wrote:
> Step to reproduce this bug:
> 1. logon as root
> 2. mount -t f2fs /dev/sdd /mnt;
> 3. touch /mnt/file;
> 4. chown system /mnt/file; chgrp system /mnt/file;
> 5. xfs_io -f /mnt/file -c "fsync";
> 6. godown /mnt;
> 7. umount /mnt;
> 8. mount -t f2fs /dev/sdd /mnt;

Please wire this up for xfstests (as a generic test).