diff options
Diffstat (limited to 'fs/ext4/ioctl.c')
-rw-r--r-- | fs/ext4/ioctl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index a56796814d6a..ff1aab7cd6e8 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c | |||
@@ -247,8 +247,6 @@ setversion_out: | |||
247 | err = ext4_move_extents(filp, donor_filp, me.orig_start, | 247 | err = ext4_move_extents(filp, donor_filp, me.orig_start, |
248 | me.donor_start, me.len, &me.moved_len); | 248 | me.donor_start, me.len, &me.moved_len); |
249 | mnt_drop_write(filp->f_path.mnt); | 249 | mnt_drop_write(filp->f_path.mnt); |
250 | if (me.moved_len > 0) | ||
251 | file_remove_suid(donor_filp); | ||
252 | 250 | ||
253 | if (copy_to_user((struct move_extent __user *)arg, | 251 | if (copy_to_user((struct move_extent __user *)arg, |
254 | &me, sizeof(me))) | 252 | &me, sizeof(me))) |