summaryrefslogtreecommitdiffstats
path: root/arch/hexagon/Makefile
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-10-28 14:57:12 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-10-28 14:57:12 -0400
commitd49f042aeec99c5f87160bb52dd52088b1051311 (patch)
tree7ec51c695820a1b15545cd99cf5827b54bf774eb /arch/hexagon/Makefile
parenta43ec98b72aae3e330f0673438f58316c3769b84 (diff)
NFSv4: Fix state reference counting in _nfs4_opendata_reclaim_to_nfs4_state
Currently, if the call to nfs_refresh_inode fails, then we end up leaking a reference count, due to the call to nfs4_get_open_state. While we're at it, replace nfs4_get_open_state with a simple call to atomic_inc(); there is no need to do a full lookup of the struct nfs_state since it is passed as an argument in the struct nfs4_opendata, and is already assigned to the variable 'state'. Cc: stable@vger.kernel.org # 3.7.x: a43ec98b72a: NFSv4: don't fail on missing Cc: stable@vger.kernel.org # 3.7.x Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'arch/hexagon/Makefile')
0 files changed, 0 insertions, 0 deletions