commit | 8f0d27dc5d77b084b2e2fe6d883c4d5776287842 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Sep 20 20:57:11 2012 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Sep 28 16:03:15 2012 -0400 |
tree | b3dcc9cb6076fca8204288535cf1789b108a71fc | |
parent | 905ca191cfe1ab18822d86e3ddef1b1b38832fdc [diff] |
NFSv4.1: Balance pnfs_layout_hdr refcount in pnfs_layout_(insert|remove)_lseg Ensure that the reference count for pnfs_layout_hdr reverts to the original value after a call to pnfs_layout_remove_lseg(). Note that the caller is expected to hold a reference to the struct pnfs_layout_hdr. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>