]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - fs/nfs/pnfs.h
NFSv4.1/pNFS: pnfs_error_mark_layout_for_return() must always return layout
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 4 Jan 2016 16:23:52 +0000 (11:23 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 4 Jan 2016 17:36:11 +0000 (12:36 -0500)
commit10335556c9e6ed2e1949fb595b7775f475299832
tree60d446eab1bb923f44f6fa258f306639cd35d988
parent5c97f5de2c7cd9e2a5f71bc7c53125d9a2833ca9
NFSv4.1/pNFS: pnfs_error_mark_layout_for_return() must always return layout

Fix a bug whereby if all the layout segments could be immediately freed,
the call to pnfs_error_mark_layout_for_return() would never result in
a layoutreturn.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs.c
fs/nfs/pnfs.h