diff options
author | Tao Ma <tao.ma@oracle.com> | 2010-01-27 03:21:52 +0100 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2010-02-03 03:56:37 +0100 |
commit | 34e6c59af06cbca07b1490ec0015ea2d303470d3 (patch) | |
tree | 1b1199825cf9f658d1abd433ff0d6b0d9f22c1de /README | |
parent | ocfs2/dlm: Handle EAGAIN for compatibility - v2 (diff) | |
download | linux-34e6c59af06cbca07b1490ec0015ea2d303470d3.tar.xz linux-34e6c59af06cbca07b1490ec0015ea2d303470d3.zip |
ocfs2: Use compat_ptr in reflink_arguments.
Although we use u64 to pass userspace pointers to the kernel
to avoid compat_ioctl, it doesn't work in some ppc platform.
So wrap them with compat_ptr and add compat_ioctl.
The detailed discussion about compat_ptr can be found in thread
http://lkml.org/lkml/2009/10/27/423.
We indeed met with a bug when testing on ppc(-EFAULT is returned
when using old_path). This patch try to fix this.
I have tested in ppc64(with 32 bit reflink) and x86_64(with i686
reflink), both works.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions