From: Christoph Hellwig Date: Sat, 12 Oct 2013 07:55:07 +0000 (-0700) Subject: xfs: simplify the fallocate path X-Git-Tag: v3.13-rc1~87^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83aee9e4c2976143f35b3a42ad1faadf58c53ae7;p=pandora-kernel.git xfs: simplify the fallocate path Call xfs_alloc_file_space or xfs_free_file_space directly from xfs_file_fallocate instead of going through xfs_change_file_space. This simplified the code by removing the unessecary marshalling of the arguments into an xfs_flock64_t structure and allows removing checks that are already done in the VFS code. Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Signed-off-by: Ben Myers --- Reading git-diff-tree failed