From: Mark Fasheh Date: Sat, 10 Mar 2007 00:53:21 +0000 (-0800) Subject: ocfs2: Support xfs style space reservation ioctls X-Git-Tag: v2.6.23-rc1~781^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b25801038da5823bba1b5440a57ca68afc51b6bd;p=pandora-kernel.git ocfs2: Support xfs style space reservation ioctls We re-use the RESVSP/UNRESVSP ioctls from xfs which allow the user to allocate and deallocate regions to a file without zeroing data or changing i_size. Though renamed, the structure passed in from user is identical to struct xfs_flock64. The three fields that are actually used right now are l_whence, l_start and l_len. This should get ocfs2 immediate compatibility with userspace software using the pre-existing xfs ioctls. Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed