Return-Path: linux-nfs-owner@vger.kernel.org Received: from mail-vc0-f176.google.com ([209.85.220.176]:63832 "EHLO mail-vc0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754257AbaIDMlx (ORCPT ); Thu, 4 Sep 2014 08:41:53 -0400 Received: by mail-vc0-f176.google.com with SMTP id ik5so10311202vcb.7 for ; Thu, 04 Sep 2014 05:41:52 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1409834323-7171-2-git-send-email-jlayton@primarydata.com> References: <1409834323-7171-1-git-send-email-jlayton@primarydata.com> <1409834323-7171-2-git-send-email-jlayton@primarydata.com> Date: Thu, 4 Sep 2014 08:41:51 -0400 Message-ID: Subject: Re: [PATCH v2 01/17] locks: consolidate "nolease" routines From: Trond Myklebust To: Jeff Layton Cc: Devel FS Linux , Linux NFS Mailing List , Christoph Hellwig , "J. Bruce Fields" , Linux Kernel mailing list , Steven Whitehouse , cluster-devel Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: On Thu, Sep 4, 2014 at 8:38 AM, Jeff Layton 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 > Cc: > Cc: Steven Whitehouse > Cc: > Signed-off-by: Jeff Layton > --- > 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 Linux NFS client maintainer, PrimaryData trond.myklebust@primarydata.com