From: "J. Bruce Fields" Subject: Re: [PATCH 3/5] locks: rename lease functions to reflect locks.c conventions Date: Mon, 11 Jun 2007 12:53:13 -0400 Message-ID: <20070611165313.GB9135@fieldses.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org, nfs@lists.sourceforge.net, Robert Rappaport , David Teigland , Trond Myklebust To: Marc Eshel Return-path: In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sat, Jun 09, 2007 at 09:56:29AM -0700, Marc Eshel wrote: > We need to export vfs_lease so nfsd can call it. Oops, thanks for finding that--done.--b. --b. diff --git a/fs/locks.c b/fs/locks.c index 82ac90b..c2fd0a5 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -1453,6 +1453,8 @@ int vfs_setlease(struct file *filp, long arg, struct file_lock **lease) return error; } +EXPORT_SYMBOL_GPL(vfs_setlease); + /** * fcntl_setlease - sets a lease on an open file * @fd: open file descriptor