Files
android_kernel_xiaomi_sm8450/fs/xfs/linux-2.6
Jason Gunthorpe 44a743f687 xfs: Fix error return for fallocate() on XFS
Noticed that through glibc fallocate would return 28 rather than -1
and errno = 28 for ENOSPC. The xfs routines uses XFS_ERROR format
positive return error codes while the syscalls use negative return
codes.  Fixup the two cases in xfs_vn_fallocate syscall to convert to
negative.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Alex Elder <aelder@sgi.com>
2009-12-11 15:11:23 -06:00
..
2009-06-01 22:59:45 -05:00
2008-04-29 15:54:02 +10:00
2008-12-04 15:39:21 +11:00
2009-12-11 15:11:22 -06:00
2009-12-11 15:11:22 -06:00
2008-12-29 16:47:18 +11:00
2007-10-22 08:13:20 -07:00
2009-12-11 15:11:21 -06:00
2009-12-11 15:11:21 -06:00
2008-04-29 16:08:14 +10:00
2009-09-15 12:29:24 -05:00
2008-10-30 16:55:03 +11:00
2009-12-11 15:11:19 -06:00
2009-12-11 15:11:19 -06:00
2009-12-11 15:11:21 -06:00
2009-06-10 17:07:47 +02:00