OSDN Git Service

NFSv4: Remove incorrect check in can_open_delegated()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 19 Dec 2014 17:47:50 +0000 (12:47 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 6 Jan 2015 03:40:54 +0000 (19:40 -0800)
commit4e379d36c050b0117b5d10048be63a44f5036115
treec0454f7248f3c935ac3aec73a175cbf051a8206e
parent7a01edf0058df98d6cc734c5a4ecc51f929a86ec
NFSv4: Remove incorrect check in can_open_delegated()

Remove an incorrect check for NFS_DELEGATION_NEED_RECLAIM in
can_open_delegated(). We are allowed to cache opens even in
a situation where we're doing reboot recovery.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c