Re: [PATCH] vfs: fix check for fallocate on active swapfile

2014-06-25 Thread Lukáš Czerner
On Tue, 24 Jun 2014, Eric Biggers wrote: > Date: Tue, 24 Jun 2014 23:45:08 -0500 > From: Eric Biggers > To: linux-fsde...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org, Eric Biggers > Subject: [PATCH] vfs: fix check for fallocate on active swapfile > > Fix the bro

[PATCH] vfs: fix check for fallocate on active swapfile

2014-06-24 Thread Eric Biggers
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 --- fs/open.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fs/ope