commit | 0790b31b69374ddadefebb156251b319e5b43345 | [log] [tgz] |
---|---|---|
author | Lukas Czerner <lczerner@redhat.com> | Sat Apr 12 10:05:37 2014 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Apr 12 10:05:37 2014 -0400 |
tree | ac6daf0dc694e27eaf143cd619459156c4ea477f | |
parent | 23fffa925ea2c9a2bcb1a4453e2c542635aa3545 [diff] |
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 <lczerner@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>