aboutsummaryrefslogtreecommitdiff
path: root/fs/nfs/callback_proc.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-09-20 17:02:32 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-09-28 16:03:13 -0400
commit01d39ce82b565961abaf1930f54ccf7b32c96b15 (patch)
tree452fcdbcfe1673c5c0d0b2e0a137bc56775a172c /fs/nfs/callback_proc.c
parent57036a377600ec0900b13f29814aa19072ad3e52 (diff)
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 <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/callback_proc.c')
0 files changed, 0 insertions, 0 deletions