NFS: Fix use after free in write error path
authorFred Isaman <fred.isaman@gmail.com>
Fri, 14 Apr 2017 18:24:28 +0000 (14:24 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 20 Apr 2017 17:51:52 +0000 (13:51 -0400)
commit1f84ccdf37d0db3a70714d02d51b0b6d45887fb8
tree3f47d341a9ddd4f1b7d1f828bf3000afd8766eab
parent43b7d964ed30dbca5c83c90cb010985b429ec4f9
NFS: Fix use after free in write error path

Signed-off-by: Fred Isaman <fred.isaman@gmail.com>
Fixes: 0bcbf039f6b2b ("nfs: handle request add failure properly")
Cc: stable@vger.kernel.org # v4.5+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/write.c