linux/fs/nfsd
Christoph Hellwig 51ee4b84f5 locks: let the caller free file_lock on ->setlease failure
The caller allocated it, the caller should free it.

The only issue so far is that we could change the flp pointer even on an
error return if the fl_change callback failed.  But we can simply move
the flp assignment after the fl_change invocation, as the callers don't
care about the flp return value if the setlease call failed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-10-31 06:35:15 -07:00
..
auth.c
auth.h
cache.h
export.c
Kconfig lockd: push lock_flocks down 2010-10-27 21:39:39 +02:00
lockd.c
Makefile
nfs2acl.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c
nfs4acl.c
nfs4callback.c
nfs4idmap.c
nfs4proc.c
nfs4recover.c
nfs4state.c locks: let the caller free file_lock on ->setlease failure 2010-10-31 06:35:15 -07:00
nfs4xdr.c
nfscache.c
nfsctl.c convert get_sb_single() users 2010-10-29 04:16:28 -04:00
nfsd.h
nfsfh.c
nfsfh.h
nfsproc.c
nfssvc.c
nfsxdr.c
state.h
stats.c
vfs.c fs: add sync_inode_metadata 2010-10-25 21:18:19 -04:00
vfs.h
xdr3.h
xdr4.h
xdr.h