diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-10-10 23:02:51 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-10-10 23:02:51 -0400 |
commit | 3873691e5ab34fa26948643d038a2b98c4437298 (patch) | |
tree | 5327469194c2167830bce38b56a618b754cdbeea /fs/orangefs | |
parent | c2050a454c7f123d7a57fa1d76ff61bd43643abb (diff) | |
parent | aadfa8019e8114539cfa0b1eb2e5a9c83094a590 (diff) | |
download | op-kernel-dev-3873691e5ab34fa26948643d038a2b98c4437298.zip op-kernel-dev-3873691e5ab34fa26948643d038a2b98c4437298.tar.gz |
Merge remote-tracking branch 'ovl/rename2' into for-linus
Diffstat (limited to 'fs/orangefs')
-rw-r--r-- | fs/orangefs/namei.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/orangefs/namei.c b/fs/orangefs/namei.c index e1ab955..0dfa868 100644 --- a/fs/orangefs/namei.c +++ b/fs/orangefs/namei.c @@ -409,11 +409,15 @@ out: static int orangefs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, - struct dentry *new_dentry) + struct dentry *new_dentry, + unsigned int flags) { struct orangefs_kernel_op_s *new_op; int ret; + if (flags) + return -EINVAL; + gossip_debug(GOSSIP_NAME_DEBUG, "orangefs_rename: called (%pd2 => %pd2) ct=%d\n", old_dentry, new_dentry, d_count(new_dentry)); |