From: Lukas Czerner Date: Sat, 12 Apr 2014 14:05:37 +0000 (-0400) Subject: fs: disallow all fallocate operation on active swapfile X-Git-Tag: omap-for-v3.16/pm-signed~66^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0790b31b69374ddadefebb156251b319e5b43345;p=pandora-kernel.git fs: disallow all fallocate operation on active swapfile Currently some file system have IS_SWAPFILE check in their fallocate implementations and some do not. However we should really prevent any fallocate operation on swapfile so move the check to vfs and remove the redundant checks from the file systems fallocate implementations. Signed-off-by: Lukas Czerner Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed