diff options
author | 2010-07-29 15:16:59 -0400 | |
---|---|---|
committer | 2010-07-29 16:37:12 -0400 | |
commit | 02921914170e3b7fea1cd82dac9713685d2de5e2 (patch) | |
tree | 623710431d4416022594d1a2a473f3ca64bf7490 /drivers/message/fusion/lsi/mpi_log_sas.h | |
parent | nfsd4: miscellaneous process_open2 cleanup (diff) | |
download | linux-dev-02921914170e3b7fea1cd82dac9713685d2de5e2.tar.xz linux-dev-02921914170e3b7fea1cd82dac9713685d2de5e2.zip |
nfsd4: fix openmode checking on IO using lock stateid
It is legal to perform a write using the lock stateid that was
originally associated with a read lock, or with a file that was
originally opened for read, but has since been upgraded.
So, when checking the openmode, check the mode associated with the
open stateid from which the lock was derived.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'drivers/message/fusion/lsi/mpi_log_sas.h')
0 files changed, 0 insertions, 0 deletions