Skip to content
Commit 3e63cbb1 authored by Ankit Jain's avatar Ankit Jain Committed by Al Viro
Browse files

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: default avatarAnkit Jain <me@ankitjain.org>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 01c03194
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment