diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-06-07 11:50:23 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-06-20 10:38:01 -0400 |
commit | 105f4622104848ff1ee1f644d661bef9dec3eb27 (patch) | |
tree | b50b0fb47e9530b8d67cb8cfd717f7bbd7559138 /net/sunrpc | |
parent | 7d751f6f8c679f51b73d01a1b5269347a929004c (diff) |
nfsd4: fix break_lease flags on nfsd open
Thanks to Casey Bodley for pointing out that on a read open we pass 0,
instead of O_RDONLY, to break_lease, with the result that a read open is
treated like a write open for the purposes of lease breaking!
Reported-by: Casey Bodley <cbodley@citi.umich.edu>
Cc: stable@kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions