remarkable-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
..
cache_lib.c
cache_lib.h
callback.c sunrpc: Add net argument to svc_create_xprt 2010-10-01 17:18:54 -04:00
callback.h
callback_proc.c NFS: change stateid to be a union 2010-10-24 18:02:53 -04:00
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 fs/locks.c: prepare for BKL removal 2010-10-05 11:02:04 +02:00
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 new helper: ihold() 2010-10-25 21:26:11 -04:00
idmap.c nfs: testing the wrong variable 2010-10-28 11:18:00 -04:00
inode.c NFS: create and destroy inode's layout cache 2010-10-24 18:07:10 -04:00
internal.h NFS: Readdir plus in v4 2010-10-23 15:27:37 -04:00
iostat.h
Kconfig lockd: push lock_flocks down 2010-10-27 21:39:39 +02:00
Makefile NFSv4.1: pnfs: filelayout: add driver's LAYOUTGET and GETDEVICEINFO infrastructure 2010-10-24 18:07:11 -04:00
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 NFS: Readdir plus in v4 2010-10-23 15:27:37 -04:00
nfs3acl.c
nfs3proc.c NFS: readdir with vmapped pages 2010-10-23 15:27:35 -04:00
nfs3xdr.c Revalidate caches on lock 2010-10-24 17:59:56 -04:00
nfs4_fs.h NFS: Readdir plus in v4 2010-10-23 15:27:37 -04:00
nfs4filelayout.c NFSv4.1: Use more sensible names for 'initialize_mountpoint' 2010-10-24 18:07:11 -04:00
nfs4filelayout.h NFSv4.1: pnfs: filelayout: add driver's LAYOUTGET and GETDEVICEINFO infrastructure 2010-10-24 18:07:11 -04:00
nfs4filelayoutdev.c NFSv4.1: pnfs: filelayout: add driver's LAYOUTGET and GETDEVICEINFO infrastructure 2010-10-24 18:07:11 -04:00
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 NFSv4.1: pnfs: add LAYOUTGET and GETDEVICEINFO infrastructure 2010-10-24 18:07:10 -04:00
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 NFSv4.1: Use more sensible names for 'initialize_mountpoint' 2010-10-24 18:07:11 -04:00
pnfs.h NFSv4.1: Use more sensible names for 'initialize_mountpoint' 2010-10-24 18:07:11 -04:00
proc.c NFS: readdir with vmapped pages 2010-10-23 15:27:35 -04:00
read.c NFS: create and destroy inode's layout cache 2010-10-24 18:07:10 -04:00
super.c convert simple cases of nfs-related ->get_sb() to ->mount() 2010-10-29 04:17:23 -04:00
symlink.c
sysctl.c NFS: new idmapper 2010-10-07 18:48:49 -04:00
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