From: Eric Biggers Date: Wed, 25 Jun 2014 04:45:08 +0000 (-0500) Subject: vfs: fix check for fallocate on active swapfile X-Git-Tag: cleanup-for-v3.18~159^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d2b6170c8914c6c69256b687651fb16d7ec3e18;p=pandora-kernel.git vfs: fix check for fallocate on active swapfile Fix the broken check for calling sys_fallocate() on an active swapfile, introduced by commit 0790b31b69374ddadefe ("fs: disallow all fallocate operation on active swapfile"). Signed-off-by: Eric Biggers Signed-off-by: Al Viro --- Reading git-diff-tree failed