]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
vfs: fix check for fallocate on active swapfile
authorEric Biggers <ebiggers3@gmail.com>
Wed, 25 Jun 2014 04:45:08 +0000 (23:45 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Aug 2014 06:36:04 +0000 (02:36 -0400)
commit6d2b6170c8914c6c69256b687651fb16d7ec3e18
treef3a2cb3335d8497e4cebcb2b3ab2291c6d1308db
parentaf436472772d474acfad724ce789e003d1ca41c3
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 <ebiggers3@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/open.c