diff options
author | NeilBrown <neilb@suse.de> | 2022-03-07 00:41:44 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-03-13 17:59:35 +0100 |
commit | 944d95f766c6fe97fa358c661281a741758cee7e (patch) | |
tree | 3d73598bf2c5256d2fee014daacb4c0bc0e72ca3 /fs/nfs/file.c | |
parent | NFS: Remove remaining dfprintks related to fscache and remove NFSDBG_FSCACHE (diff) | |
download | linux-944d95f766c6fe97fa358c661281a741758cee7e.tar.xz linux-944d95f766c6fe97fa358c661281a741758cee7e.zip |
NFS: remove IS_SWAPFILE hack
This code is pointless as IS_SWAPFILE is always defined.
So remove it.
Suggested-by: Mark Hemment <markhemm@googlemail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to '')
-rw-r--r-- | fs/nfs/file.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/nfs/file.c b/fs/nfs/file.c index 4d681683d13c..93c01aaa0a8d 100644 --- a/fs/nfs/file.c +++ b/fs/nfs/file.c @@ -44,11 +44,6 @@ static const struct vm_operations_struct nfs_file_vm_ops; -/* Hack for future NFS swap support */ -#ifndef IS_SWAPFILE -# define IS_SWAPFILE(inode) (0) -#endif - int nfs_check_flags(int flags) { if ((flags & (O_APPEND | O_DIRECT)) == (O_APPEND | O_DIRECT)) |