]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NFSv4.1: Fix a reference leak in pnfs_update_layout
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 21 Sep 2012 01:25:19 +0000 (21:25 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 24 Sep 2012 17:24:25 +0000 (13:24 -0400)
commit7b6ba70914ea19397332cf95549f78e6b939712c
treeeddb85ea14baf17de27f4b42519db6b9f51b6abd
parent38e1b263c4d034175d5093aea6b7a97a2f170815
NFSv4.1: Fix a reference leak in pnfs_update_layout

If we exit after the call to pnfs_find_alloc_layout(), we have to ensure
that we put the struct pnfs_layout_hdr.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pnfs.c