]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
nfs/filelayout: use pnfs_error_mark_layout_for_return
authorPeng Tao <tao.peng@primarydata.com>
Fri, 5 Sep 2014 16:53:29 +0000 (00:53 +0800)
committerTom Haynes <loghyr@primarydata.com>
Tue, 3 Feb 2015 19:06:43 +0000 (11:06 -0800)
commitc220106fb45909719295474e2497ffe03e47dfb3
tree5f4b0ba6cbe79da94576d47b74e9a73d1d552764
parente736a5b98c7aa98fe572990caf5fed9593c72a67
nfs/filelayout: use pnfs_error_mark_layout_for_return

Instead of calling layoutreturn directly, call pnfs_error_mark_layout_for_return
to mark layouts for return and let generic code return layout when
layout segments are freed.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Tom Haynes <Thomas.Haynes@primarydata.com>
Conflicts:
fs/nfs/filelayout/filelayout.c
fs/nfs/filelayout/filelayout.c
fs/nfs/pnfs_nfs.c