From: Trond Myklebust Date: Thu, 20 Sep 2012 21:02:32 +0000 (-0400) Subject: NFSv4.1: Remove redundant reference to the pnfs_layout_hdr X-Git-Tag: v3.7-rc1~58^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01d39ce82b565961abaf1930f54ccf7b32c96b15;p=pandora-kernel.git NFSv4.1: Remove redundant reference to the pnfs_layout_hdr Each layout segment already holds a reference to the pnfs_layout_hdr, so there is no need to hold an extra reference that is released once the last layout segment is freed. Ensure that pnfs_find_alloc_layout() always returns a reference to the pnfs_layout_hdr, which will be matched by the final call to pnfs_put_layout_hdr() in pnfs_update_layout(). Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed