]> git.baikalelectronics.ru Git - kernel.git/commit
fs: Add new pre-allocation ioctls to vfs for compatibility with legacy xfs ioctls
authorAnkit Jain <me@ankitjain.org>
Fri, 19 Jun 2009 18:28:07 +0000 (14:28 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 24 Jun 2009 12:15:27 +0000 (08:15 -0400)
commit362aa753e861be3e278674f48bf440db038b8de1
tree5a7964068266e778e94c1348192d3c85eba4ac48
parente48ddc3b1e374c477ee28e70cfcf8388c55c55b2
fs: Add new pre-allocation ioctls to vfs for compatibility with legacy xfs ioctls

This patch adds ioctls to vfs for compatibility with legacy XFS
pre-allocation ioctls (XFS_IOC_*RESVP*). The implementation
effectively invokes sys_fallocate for the new ioctls.
Also handles the compat_ioctl case.
Note: These legacy ioctls are also implemented by OCFS2.

[AV: folded fixes from hch]

Signed-off-by: Ankit Jain <me@ankitjain.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/compat_ioctl.c
fs/ioctl.c
fs/open.c
include/linux/falloc.h
include/linux/fs.h