linux/fs/nfs
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
..
Kconfig lockd: push lock_flocks down 2010-10-27 21:39:39 +02:00
Makefile
cache_lib.c
cache_lib.h
callback.c
callback.h
callback_proc.c
callback_xdr.c
client.c Merge branch 'for-2.6.37' of git://linux-nfs.org/~bfields/linux 2010-10-26 09:55:25 -07:00
delegation.c
delegation.h
dir.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 2010-10-26 17:58:44 -07:00
direct.c Fixed Regression in NFS Direct I/O path 2010-10-28 11:14:05 -04:00
dns_resolve.c
dns_resolve.h
file.c locks: let the caller free file_lock on ->setlease failure 2010-10-31 06:35:15 -07:00
fscache-index.c
fscache.c
fscache.h
getroot.c
idmap.c nfs: testing the wrong variable 2010-10-28 11:18:00 -04:00
inode.c
internal.h
iostat.h
mount_clnt.c Merge branch 'for-2.6.37' of git://linux-nfs.org/~bfields/linux 2010-10-26 09:55:25 -07:00
namespace.c
nfs2xdr.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c
nfs4_fs.h
nfs4filelayout.c
nfs4filelayout.h
nfs4filelayoutdev.c
nfs4namespace.c
nfs4proc.c nfs4: The difference of 2 pointers is ptrdiff_t 2010-10-28 15:49:29 -04:00
nfs4renewd.c
nfs4state.c Merge branch 'nfs-for-2.6.37' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6 2010-10-26 09:52:09 -07:00
nfs4xdr.c
nfsroot.c NFS: Fix a compile issue in nfs_root 2010-10-26 13:56:42 -04:00
pagelist.c nfs: handle lock context allocation failures in nfs_create_request 2010-10-28 11:17:25 -04:00
pnfs.c
pnfs.h
proc.c
read.c
super.c convert simple cases of nfs-related ->get_sb() to ->mount() 2010-10-29 04:17:23 -04:00
symlink.c
sysctl.c
unlink.c a couple of open-coded ihold() introduced by nfs merge 2010-10-29 04:14:48 -04:00
write.c writeback: remove nonblocking/encountered_congestion references 2010-10-26 16:52:05 -07:00