Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163669
b: refs/heads/master
c: 8d66691
h: refs/heads/master
i:
  163667: c9a361a
v: v3
  • Loading branch information
Akira Fujita authored and Theodore Ts'o committed Sep 6, 2009
1 parent a8139ec commit f8d02bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: daea696dbac0e33af3cfe304efbfb8d74e0effe6
refs/heads/master: 8d6669133d8cdbb7cbe0e1f0f3744e7802a84afe
7 changes: 3 additions & 4 deletions trunk/fs/ext4/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,9 @@ long ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
me.donor_start, me.len, &me.moved_len);
fput(donor_filp);

if (!err)
if (copy_to_user((struct move_extent *)arg,
&me, sizeof(me)))
return -EFAULT;
if (copy_to_user((struct move_extent *)arg, &me, sizeof(me)))
return -EFAULT;

return err;
}

Expand Down

0 comments on commit f8d02bb

Please sign in to comment.