diff options
author | David Howells <dhowells@redhat.com> | 2020-06-04 21:31:39 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-06-09 15:22:06 +0100 |
commit | 5749ce92c4b707353cbd934dd0518a1966d7988f (patch) | |
tree | a5473fbf8e54509339008b9a45e2ea336fe7c494 /scripts/module-common.lds | |
parent | 2ca068be09bf8e285036603823696140026dcbe7 (diff) |
afs: Fix file locking
Fix AFS file locking to use the correct vnode pointer and remove a member
of the afs_operation struct that is never set, but it is read and followed,
causing an oops.
This can be triggered by:
flock -s /afs/example.com/foo sleep 1
when it calls the kernel to get a file lock.
Fixes: e49c7b2f6de7 ("afs: Build an abstraction around an "operation" concept")
Reported-by: Dave Botsch <botsch@cnf.cornell.edu>
Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Dave Botsch <botsch@cnf.cornell.edu>
Diffstat (limited to 'scripts/module-common.lds')
0 files changed, 0 insertions, 0 deletions