]> git.baikalelectronics.ru Git - 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)
commita67b680a811ae3e57315642047c3ec84f8d9ce7e
tree5f4b0ba6cbe79da94576d47b74e9a73d1d552764
parent9c895338b612a277a4d1def7c5a344d0e3d9a785
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