diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-08-27 12:49:41 +0200 |
---|---|---|
committer | Jeff Layton <jlayton@primarydata.com> | 2014-09-09 22:01:36 +0200 |
commit | 1c994a0909a556508c2cc26ab5d9e13c5ce33aa0 (patch) | |
tree | 6bb67db15f5e74c07c793ce3e27165c542f14c95 /drivers | |
parent | locks: remove lock_may_read and lock_may_write (diff) | |
download | linux-1c994a0909a556508c2cc26ab5d9e13c5ce33aa0.tar.xz linux-1c994a0909a556508c2cc26ab5d9e13c5ce33aa0.zip |
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 'drivers')
0 files changed, 0 insertions, 0 deletions