Re: [xfstests PATCH] overlay: test whiteout check in impure dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 19, 2017 at 6:53 AM, zhangyi (F) <yi.zhang@xxxxxxxxxx> wrote:
> The unmerged and impure upper directories may contain invalid
> whiteouts when we umount && modify lowerdir(e.g. clean up dir) and
> remount overlay. This may lead to whiteouts exposure and rmdir
> failure.
>
> This case test impure dir's whiteouts check in ovl_iterate() and
> ovl_remove_xxx().
>
> Signed-off-by: zhangyi (F) <yi.zhang@xxxxxxxxxx>

Looks good

Reviewed-by: Amir Goldstein <amir73il@xxxxxxxxx>


> --- a/tests/overlay/group
> +++ b/tests/overlay/group
> @@ -33,3 +33,4 @@
>  028 auto copyup quick
>  029 auto quick
>  030 auto quick perms
> +031 auto quick

Maybe add "whiteout"
--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux