]> git.karo-electronics.de Git - linux-beck.git/commit
NFS41: remove NFS_LAYOUT_ROC flag
authorPeng Tao <tao.peng@primarydata.com>
Fri, 21 Aug 2015 04:49:44 +0000 (12:49 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 25 Aug 2015 18:40:06 +0000 (14:40 -0400)
commit3976143b063e3c42fe5471d87860f6ae118e0eee
treef482472e997dca2964deaca282292eee897d2c63
parent249b2eef647f97164b8bb61f2d9282f227a17992
NFS41: remove NFS_LAYOUT_ROC flag

If we return delegation before closing, we fail to do roc check
during close because NFS_LAYOUT_ROC is cleared by delegreturn
and it causes layouts to be still hanging around after delegreturn
+ close, which is a voilation against protocol.

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