On Thu, Sep 4, 2014 at 8:38 AM, Jeff Layton <jlayton@xxxxxxxxxxxxxxx> wrote: > 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: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> > Cc: <linux-nfs@xxxxxxxxxxxxxxx> > Cc: Steven Whitehouse <swhiteho@xxxxxxxxxx> > Cc: <cluster-devel@xxxxxxxxxx> > Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxxxxxxx> > --- > fs/gfs2/file.c | 22 +--------------------- > fs/libfs.c | 16 ++++++++++++++++ > fs/nfs/file.c | 13 +------------ > fs/nfs/internal.h | 1 - > fs/nfs/nfs4file.c | 2 +- > include/linux/fs.h | 1 + > 6 files changed, 20 insertions(+), 35 deletions(-) Acked-by: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> -- Trond Myklebust Linux NFS client maintainer, PrimaryData trond.myklebust@xxxxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html