[PATCH] NFSv4: fs/nfs/nfs4proc.c: small simplification

The Coverity checker noticed that such a simplification was possible.

 Signed-off-by: Adrian Bunk <bunk@stusta.de>
 Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
Adrian Bunk 2005-06-22 17:16:28 +00:00 committed by Trond Myklebust
parent 213484254c
commit b7ef19560f
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ static void nfs4_setup_readdir(u64 cookie, u32 *verifier, struct dentry *dentry,
BUG_ON(readdir->count < 80);
if (cookie > 2) {
readdir->cookie = (cookie > 2) ? cookie : 0;
readdir->cookie = cookie;
memcpy(&readdir->verifier, verifier, sizeof(readdir->verifier));
return;
}