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)
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

Simple merge
Simple merge