NFSv4.1: Free the pnfs_layout_hdr outside the inode->i_lock
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 20 Sep 2012 21:23:11 +0000 (17:23 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 28 Sep 2012 20:03:14 +0000 (16:03 -0400)
commit6622c3ea059b2fed49924b74db41d1e0f065fbd3
treed8b362ec56159a57f7402e8d4f70d704f06a612b
parent01d39ce82b565961abaf1930f54ccf7b32c96b15
NFSv4.1: Free the pnfs_layout_hdr outside the inode->i_lock

None of the existing pNFS layout drivers seem to require the inode
to be locked while they free the layout header.

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