Merge remote-tracking branch 'omap_dss2/for-next'
[deliverable/linux.git] / fs / ecryptfs / inode.c
index 9d153b6a1d72308ae7130233697082b7028a3e51..fe83c1050048b06f36327b9f9b2a9e12ce4b89f2 100644 (file)
@@ -577,7 +577,8 @@ out:
 
 static int
 ecryptfs_rename(struct inode *old_dir, struct dentry *old_dentry,
-               struct inode *new_dir, struct dentry *new_dentry)
+               struct inode *new_dir, struct dentry *new_dentry,
+               unsigned int flags)
 {
        int rc;
        struct dentry *lower_old_dentry;
@@ -587,6 +588,9 @@ ecryptfs_rename(struct inode *old_dir, struct dentry *old_dentry,
        struct dentry *trap = NULL;
        struct inode *target_inode;
 
+       if (flags)
+               return -EINVAL;
+
        lower_old_dentry = ecryptfs_dentry_to_lower(old_dentry);
        lower_new_dentry = ecryptfs_dentry_to_lower(new_dentry);
        dget(lower_old_dentry);
This page took 0.030323 seconds and 5 git commands to generate.