]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4b80edc3866269d8c77f194c1f5f8b95bb5c14da
tree3bccc5ba7e8dff301f8dd4536158306d9261244d
parent9ae48b3db2eb4003d090f8b68c6ad9e561659b54
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