summaryrefslogtreecommitdiffstats
path: root/fs/ext2/ext2.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-02-08 04:20:15 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 09:22:33 -0800
commitc2ec66828fd253802abb912668f4bf9597e3c898 (patch)
tree6d7dfe34b423b5bf32a5a5ae6b35207db4bb5d22 /fs/ext2/ext2.h
parent7adfa2ff3efa02a7a9f2632d2d2662d3e5eb5304 (diff)
downloadop-kernel-dev-c2ec66828fd253802abb912668f4bf9597e3c898.zip
op-kernel-dev-c2ec66828fd253802abb912668f4bf9597e3c898.tar.gz
aio: negative offset should return -EINVAL
An AIO read or write should return -EINVAL if the offset is negative. This check matches the one in pread and pwrite. This was found by the libaio test suite. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Acked-by: Zach Brown <zach.brown@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext2/ext2.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud