Tao Ma
34e6c59af0
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>
2010-02-02 18:56:37 -08:00
..
2010-01-25 19:20:51 -08:00
2010-02-02 18:56:34 -08:00
2009-12-24 12:59:11 -08:00
2009-10-28 23:05:57 -07:00
2009-12-23 13:33:07 -08:00
2009-12-02 16:14:57 -08:00
2010-01-25 19:20:51 -08:00
2009-09-22 20:09:36 -07:00
2009-12-04 15:39:50 +01:00
2009-06-03 19:15:36 -07:00
2010-01-25 19:20:51 -08:00
2009-09-04 16:07:48 -07:00
2009-08-27 18:10:54 -07:00
2009-07-21 15:47:55 -07:00
2009-09-04 16:08:13 -07:00
2009-04-03 11:39:16 -07:00
2010-01-25 19:20:51 -08:00
2009-09-22 20:09:28 -07:00
2010-01-25 19:20:51 -08:00
2007-10-22 08:13:21 -07:00
2009-12-23 17:52:09 -08:00
2009-09-22 20:09:39 -07:00
2010-02-02 18:15:37 -08:00
2009-09-22 20:09:37 -07:00
2008-04-18 08:56:04 -07:00
2008-04-18 08:56:04 -07:00
2010-01-25 19:20:51 -08:00
2009-09-04 16:07:57 -07:00
2010-02-02 18:56:37 -08:00
2008-04-18 08:56:11 -07:00
2010-01-25 19:20:51 -08:00
2009-09-22 20:09:35 -07:00
2009-10-28 23:05:57 -07:00
2009-09-04 16:07:50 -07:00
2008-10-13 13:57:57 -07:00
2008-10-13 13:57:57 -07:00
2008-10-13 13:57:57 -07:00
2009-10-28 23:05:57 -07:00
2009-09-27 11:39:25 -07:00
2006-01-03 11:45:47 -08:00
2009-12-24 12:59:11 -08:00
2009-09-22 20:09:48 -07:00
2008-02-03 17:33:42 +02:00
2010-01-25 19:20:45 -08:00
2009-09-22 20:09:28 -07:00
2008-02-06 16:11:29 -08:00
2009-12-24 12:59:11 -08:00
2009-09-23 09:29:20 -07:00
2009-12-10 15:02:51 +01:00
2009-12-10 15:02:53 +01:00
2010-02-02 18:15:35 -08:00
2009-09-22 20:09:51 -07:00
2009-09-04 16:07:50 -07:00
2008-01-25 15:04:24 -08:00
2009-09-04 16:07:48 -07:00
2008-04-18 08:56:03 -07:00
2010-01-25 19:20:48 -08:00
2009-12-17 20:55:52 -08:00
2009-11-18 08:37:40 -08:00
2009-06-22 14:24:30 -07:00
2009-09-04 16:07:52 -07:00
2009-04-03 11:39:25 -07:00
2010-01-25 19:20:51 -08:00
2007-08-09 17:25:07 -07:00
2010-01-11 15:38:50 -08:00
2007-02-12 09:48:46 -08:00
2009-06-22 14:34:29 -07:00
2006-01-03 11:45:47 -08:00
2010-01-25 19:20:51 -08:00
2009-09-04 16:07:50 -07:00
2008-01-25 15:05:46 -08:00
2006-01-03 11:45:47 -08:00
2009-12-24 12:59:11 -08:00
2009-10-28 23:05:57 -07:00