nfs41: add a debug warning if we destroy an unempty layout
authorPeng Tao <tao.peng@primarydata.com>
Fri, 10 Oct 2014 15:25:46 +0000 (23:25 +0800)
committerTom Haynes <loghyr@primarydata.com>
Tue, 3 Feb 2015 19:06:47 +0000 (11:06 -0800)
commit566f8737630390b743d79e26e4ac855fe2758129
tree974b19ea87f8185b4442657a51a0ce27fc70998c
parent80c76fe314c2859d5aac94b5d66d2b9895aa73d4
nfs41: add a debug warning if we destroy an unempty layout

So that we can detect the case if some layout segments are still
pinned which is surely a bug that we need to fix.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
fs/nfs/pnfs.c