From: Trond Myklebust Date: Mon, 27 Sep 2010 19:51:20 +0000 (-0400) Subject: NFS: Really fix put_nfs_open_context() X-Git-Tag: v2.6.37-rc1~120^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c78f58e2d5cef65c255a556184f1f43c8d84c84;p=pandora-kernel.git NFS: Really fix put_nfs_open_context() In nfs_open_revalidate(), if the open_context() call returns an inode that is not the same as dentry->d_inode, then we will call put_nfs_open_context() with a valid dentry->d_inode, but without the context being part of the nfsi->open_files list. In this case too, we want to just skip the list removal, but we do want to call the ->close_context() callback in order to close the NFSv4 state. Signed-off-by: Trond Myklebust Acked-by: Jeff Layton --- Reading git-diff-tree failed