From: Jeff Layton Date: Wed, 23 Jul 2014 20:17:41 +0000 (-0400) Subject: nfsd: Do not let nfs4_file pin the struct inode X-Git-Tag: omap-for-v3.17/fixes-against-rc2~101^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9c00c3ab425ef04ca5a3caa5e9a9f5e0272bb8a;p=pandora-kernel.git nfsd: Do not let nfs4_file pin the struct inode Remove the fi_inode field in struct nfs4_file in order to remove the possibility of struct nfs4_file pinning the inode when it does not have any open state. The only place we still need to get to an inode is in check_for_locks, so change it to use find_any_file and use the inode from any that it finds. If it doesn't find one, then just assume there aren't any. Signed-off-by: Trond Myklebust Signed-off-by: Jeff Layton Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed