summaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2012-07-18 09:31:36 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-18 08:59:46 -0700
commit331ae4962b975246944ea039697a8f1cadce42bb (patch)
tree38c56c8b83e3a6b01d3bfd05bb8edd195094e276 /fs/ext4
parentde74646c603fa71d1587f1ba5c761d009624abd7 (diff)
downloadop-kernel-dev-331ae4962b975246944ea039697a8f1cadce42bb.zip
op-kernel-dev-331ae4962b975246944ea039697a8f1cadce42bb.tar.gz
ext4: fix duplicated mnt_drop_write call in EXT4_IOC_MOVE_EXT
Caused, AFAICS, by mismerge in commit ff9cb1c4eead ("Merge branch 'for_linus' into for_linus_merged") Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Cc: Theodore Ts'o <tytso@mit.edu> Cc: stable@vger.kernel.org # 3.3+ Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/ioctl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c
index e34deac..6ec6f9ee 100644
--- a/fs/ext4/ioctl.c
+++ b/fs/ext4/ioctl.c
@@ -268,7 +268,6 @@ group_extend_out:
err = ext4_move_extents(filp, donor_filp, me.orig_start,
me.donor_start, me.len, &me.moved_len);
mnt_drop_write_file(filp);
- mnt_drop_write(filp->f_path.mnt);
if (copy_to_user((struct move_extent __user *)arg,
&me, sizeof(me)))
OpenPOWER on IntegriCloud