diff options
author | Akira Fujita <a-fujita@rs.jp.nec.com> | 2010-03-04 00:39:24 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-03-04 00:39:24 -0500 |
commit | c437b2733520599a2c6e0dbcdeae611319f84707 (patch) | |
tree | 539c7b820d955f810912da7bcd82a7fb3b496501 /fs/ext4/ioctl.c | |
parent | 7247c0caa23d94a1cb6b307edba9dc45fb0798d4 (diff) |
ext4: Code cleanup for EXT4_IOC_MOVE_EXT ioctl
a) Fix sparse warning in ext4_ioctl()
b) Remove unneeded variable in mext_leaf_block()
c) Fix spelling typo in mext_check_arguments()
Signed-off-by: Akira Fujita <a-fujita@rs.jp.nec.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ioctl.c')
-rw-r--r-- | fs/ext4/ioctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index 2220feb2dcc1..016d0249294f 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c | |||
@@ -258,7 +258,8 @@ setversion_out: | |||
258 | if (me.moved_len > 0) | 258 | if (me.moved_len > 0) |
259 | file_remove_suid(donor_filp); | 259 | file_remove_suid(donor_filp); |
260 | 260 | ||
261 | if (copy_to_user((struct move_extent *)arg, &me, sizeof(me))) | 261 | if (copy_to_user((struct move_extent __user *)arg, |
262 | &me, sizeof(me))) | ||
262 | err = -EFAULT; | 263 | err = -EFAULT; |
263 | mext_out: | 264 | mext_out: |
264 | fput(donor_filp); | 265 | fput(donor_filp); |