Hi, Please find attached V9 of the patches. Minor changes to take care of Amir's comments. I have also dropped RFC tag. If there are no concerns, then I would like these patches to be included. These patches apply on top of overlayfs-next branch plus the fix I posted with subject "ovl: Pass ovl_get_nlink() parameters in right order" https://www.spinics.net/lists/stable/msg200902.html Changes from V8. - Fixed ovl_get_nlink() to take index as parameter instead of upperdentry. - Ran checkpatch on patches and fixed issues. - Updated help text of config option OVERLAY_FS_METACOPY Vivek Amir Goldstein (1): ovl: disable redirect_dir and index when no xattr support Vivek Goyal (14): ovl: Do not look for OVL_XATTR_NLINK if index is not there ovl: ovl_check_setxattr() get rid of redundant -EOPNOTSUPP check ovl: Create origin xattr on copy up for all files ovl: Provide a mount option metacopy=on/off for metadata copyup ovl: During copy up, first copy up metadata and then data ovl: Move the copy up helpers to copy_up.c ovl: Copy up only metadata during copy up where it makes sense ovl: Add helper ovl_already_copied_up() ovl: A new xattr OVL_XATTR_METACOPY for file on upper ovl: Fix ovl_getattr() to get number of blocks from lower ovl: Set OVL_UPPERDATA flag during ovl_lookup() ovl: Do not expose metacopy only upper dentry from d_real() ovl: Fix encryption/compression status of a metacopy only file ovl: Enable metadata only feature fs/overlayfs/Kconfig | 15 +++++ fs/overlayfs/copy_up.c | 162 ++++++++++++++++++++++++++++++++++------------- fs/overlayfs/dir.c | 1 + fs/overlayfs/inode.c | 73 ++++++++++----------- fs/overlayfs/namei.c | 40 ++++++++++++ fs/overlayfs/overlayfs.h | 21 +++++- fs/overlayfs/ovl_entry.h | 1 + fs/overlayfs/super.c | 62 ++++++++++++++++-- fs/overlayfs/util.c | 105 ++++++++++++++++++++++++++---- 9 files changed, 376 insertions(+), 104 deletions(-) -- 2.13.6 -- 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