Linux/linux 59d4907fs/afs flock.c inode.c

afs: Fix key refcounting in file locking code

Fix the refcounting of the authentication keys in the file locking code.
The vnode->lock_key member points to a key on which it expects to be
holding a ref, but it isn't always given an extra ref, however.

Fixes: 0fafdc9f888b ("afs: Fix file locking")
Signed-off-by: David Howells <dhowells at redhat.com>
DeltaFile
+2-2fs/afs/flock.c
+2-0fs/afs/inode.c
+4-22 files

UnifiedSplitRaw