| commit | 6d2b6170c8914c6c69256b687651fb16d7ec3e18 | [log] [tgz] | 
|---|---|---|
| author | Eric Biggers <ebiggers3@gmail.com> | Tue Jun 24 23:45:08 2014 -0500 | 
| committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Aug 01 02:36:04 2014 -0400 | 
| tree | f3a2cb3335d8497e4cebcb2b3ab2291c6d1308db | |
| parent | af436472772d474acfad724ce789e003d1ca41c3 [diff] | 
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>