summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorPeng Tao <tao.peng@primarydata.com>2014-10-20 14:44:38 +0800
committerTom Haynes <loghyr@primarydata.com>2015-02-03 11:06:50 -0800
commit27b6f53987d61822a858b4680c3727bfb19e620a (patch)
tree78412c8a81e1a51f3fc3ab3b1361ab460f187c9d /fs/nfs/internal.h
parent193e3aa2ccfb5a53acf7a690b80a1e415b74dbd7 (diff)
downloadtalos-obmc-linux-27b6f53987d61822a858b4680c3727bfb19e620a.tar.gz
talos-obmc-linux-27b6f53987d61822a858b4680c3727bfb19e620a.zip
nfs/flexfiles: send layoutreturn before freeing lseg
Otherwise we'll lose error tracking information when encoding layoutreturn. pnfs_put_lseg may be called from rpc callbacks. So we should not call pnfs_send_layoutreturn directly because it can deadlock in the rpc layer. Signed-off-by: Peng Tao <tao.peng@primarydata.com> Signed-off-by: Tom Haynes <loghyr@primarydata.com>
Diffstat (limited to 'fs/nfs/internal.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud