aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ubifs/dir.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c
index ca16c5d7bab1..0b5a19de4636 100644
--- a/fs/ubifs/dir.c
+++ b/fs/ubifs/dir.c
@@ -1088,9 +1088,6 @@ static int do_rename(struct inode *old_dir, struct dentry *old_dentry,
1088 struct timespec time; 1088 struct timespec time;
1089 unsigned int uninitialized_var(saved_nlink); 1089 unsigned int uninitialized_var(saved_nlink);
1090 1090
1091 if (flags & ~RENAME_NOREPLACE)
1092 return -EINVAL;
1093
1094 /* 1091 /*
1095 * Budget request settings: deletion direntry, new direntry, removing 1092 * Budget request settings: deletion direntry, new direntry, removing
1096 * the old inode, and changing old and new parent directory inodes. 1093 * the old inode, and changing old and new parent directory inodes.