summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2014-08-27 06:49:41 -0400
committerJeff Layton <jlayton@primarydata.com>2014-09-09 16:01:36 -0400
commit1c994a0909a556508c2cc26ab5d9e13c5ce33aa0 (patch)
tree6bb67db15f5e74c07c793ce3e27165c542f14c95 /fs/nfs/internal.h
parent699688a416524c3cea9eafaca69fc6c06c13c02e (diff)
downloadop-kernel-dev-1c994a0909a556508c2cc26ab5d9e13c5ce33aa0.zip
op-kernel-dev-1c994a0909a556508c2cc26ab5d9e13c5ce33aa0.tar.gz
locks: consolidate "nolease" routines
GFS2 and NFS have setlease routines that always just return -EINVAL. Turn that into a generic routine that can live in fs/libfs.c. Cc: <linux-nfs@vger.kernel.org> Cc: Steven Whitehouse <swhiteho@redhat.com> Cc: <cluster-devel@redhat.com> Signed-off-by: Jeff Layton <jlayton@primarydata.com> Acked-by: Trond Myklebust <trond.myklebust@primarydata.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index 9056622..94d922e 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -346,7 +346,6 @@ int nfs_file_release(struct inode *, struct file *);
int nfs_lock(struct file *, int, struct file_lock *);
int nfs_flock(struct file *, int, struct file_lock *);
int nfs_check_flags(int);
-int nfs_setlease(struct file *, long, struct file_lock **);
/* inode.c */
extern struct workqueue_struct *nfsiod_workqueue;
OpenPOWER on IntegriCloud