ext4: fix duplicated mnt_drop_write call in EXT4_IOC_MOVE_EXT
authorAl Viro <[email protected]>
Wed, 18 Jul 2012 08:31:36 +0000 (09:31 +0100)
committerLinus Torvalds <[email protected]>
Wed, 18 Jul 2012 15:59:46 +0000 (08:59 -0700)
Caused, AFAICS, by mismerge in commit ff9cb1c4eead ("Merge branch
'for_linus' into for_linus_merged")

Signed-off-by: Al Viro <[email protected]>
Cc: Theodore Ts'o <[email protected]>
Cc: [email protected] # 3.3+
Signed-off-by: Linus Torvalds <[email protected]>
fs/ext4/ioctl.c

index e34deac3f3663ee3fdaf7d19b44acf5eab45d6ca..6ec6f9ee2fec9099c87f523bbf69614eed789050 100644 (file)
@@ -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)))