This is V2 of the patch I had posted. Right now if user passes metacopy=on and if redirect_dir=on is not specified, metacopy is disabled automatically and a messages is sent to console/logs. This might be little surprising for user. A better behavior probably is to return an error if metacopy can't be enabled. Two patches in the series take care of that. Vivek Goyal (2): overlayfs: Return error if metadata only copy-up can't be enabled overlayfs: Enable redirect_dir automatically if metacopy=on needs it fs/overlayfs/ovl_entry.h | 2 ++ fs/overlayfs/super.c | 73 +++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 68 insertions(+), 7 deletions(-) -- 2.13.6