On Tue, Dec 03, 2013 at 10:42:06PM +0800, Peng Tao wrote:I am truly sorry. This one was added in the last and got in the middle after I reordered the series. Then I was under the impression that it was included when I tested the code. Really sorry for causing the trouble. I will be more careful.It exactly copies generic_segment_checks() except wrongly calling
access_ok(VERIFY_READ) for aio read range. Drop it and just call
generic_segment_checks() instead.
Signed-off-by: Peng Tao <bergwolf@xxxxxxxxx>
Signed-off-by: Andreas Dilger <andreas.dilger@xxxxxxxxx>
---
drivers/staging/lustre/lustre/llite/file.c | 36 ++--------------------------
1 file changed, 2 insertions(+), 34 deletions(-)
This patch breaks the build, in numerous ways, which means you didn't
even build test this patch.
PLEASE be more careful, it's getting such that I really dread seeing
these patches show up in my inbox...