summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iops.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2015-03-25 14:29:13 +1100
committerDave Chinner <david@fromorbit.com>2015-03-25 14:29:13 +1100
commitd41bb03444147305e955cdd53753f0493e4d9e28 (patch)
tree37535eb32e725933b0c24df5c52c123b187fa910 /fs/xfs/xfs_iops.c
parent88e8fda99a4c99a1a6482510655dbd88cccd221b (diff)
parent7dcf5c3e4527cfa2807567b00387cf2ed5e07f00 (diff)
downloadlinux-d41bb03444147305e955cdd53753f0493e4d9e28.tar.bz2
Merge branch 'xfs-rename-whiteout' into for-next
Conflicts: fs/xfs/xfs_inode.c
Diffstat (limited to 'fs/xfs/xfs_iops.c')
-rw-r--r--fs/xfs/xfs_iops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iops.c b/fs/xfs/xfs_iops.c
index 8b9e6887e315..015d6a366b16 100644
--- a/fs/xfs/xfs_iops.c
+++ b/fs/xfs/xfs_iops.c
@@ -394,7 +394,7 @@ xfs_vn_rename(
struct xfs_name oname;
struct xfs_name nname;
- if (flags & ~(RENAME_NOREPLACE | RENAME_EXCHANGE))
+ if (flags & ~(RENAME_NOREPLACE | RENAME_EXCHANGE | RENAME_WHITEOUT))
return -EINVAL;
/* if we are exchanging files, we need to set i_mode of both files */