nfsd4: bad BUG() in preprocess_stateid_op
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 17 Aug 2010 22:46:33 +0000 (18:46 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 26 Aug 2010 17:20:51 +0000 (13:20 -0400)
commit30c0e1ef0a8a6cab4e0f9357698c81a2f7f73cc5
tree3bccc5ba7e8dff301f8dd4536158306d9261244d
parent998db52c03cd293d16a457f1b396cea932244147
nfsd4: bad BUG() in preprocess_stateid_op

It's OK for this function to return without setting filp--we do it in
the special-stateid case.

And there's a legitimate case where we can hit this, since we do permit
reads on write-only stateid's.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c