Home
last modified time | relevance | path

Searched hist:cdfb26b40dfa51127d22d171cef4fe8993cbfb55 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/afs/
H A Dflock.cdiff cdfb26b40dfa51127d22d171cef4fe8993cbfb55 Thu Apr 25 08:26:51 CDT 2019 David Howells <dhowells@redhat.com> afs: Handle lock rpc ops failing on a file that got deleted

Holding a file lock on an AFS file does not prevent it from being deleted
on the server, so we need to handle an error resulting from that when we
try setting, extending or releasing a lock.

Fix this by adding a "deleted" lock state and cancelling the lock extension
process for that file and aborting all waiters for the lock.

Fixes: 0fafdc9f888b ("afs: Fix file locking")
Reported-by: Jonathan Billings <jsbillin@umich.edu>
Signed-off-by: David Howells <dhowells@redhat.com>
H A Dinternal.hdiff cdfb26b40dfa51127d22d171cef4fe8993cbfb55 Thu Apr 25 08:26:51 CDT 2019 David Howells <dhowells@redhat.com> afs: Handle lock rpc ops failing on a file that got deleted

Holding a file lock on an AFS file does not prevent it from being deleted
on the server, so we need to handle an error resulting from that when we
try setting, extending or releasing a lock.

Fix this by adding a "deleted" lock state and cancelling the lock extension
process for that file and aborting all waiters for the lock.

Fixes: 0fafdc9f888b ("afs: Fix file locking")
Reported-by: Jonathan Billings <jsbillin@umich.edu>
Signed-off-by: David Howells <dhowells@redhat.com>
/openbmc/linux/include/trace/events/
H A Dafs.hdiff cdfb26b40dfa51127d22d171cef4fe8993cbfb55 Thu Apr 25 08:26:51 CDT 2019 David Howells <dhowells@redhat.com> afs: Handle lock rpc ops failing on a file that got deleted

Holding a file lock on an AFS file does not prevent it from being deleted
on the server, so we need to handle an error resulting from that when we
try setting, extending or releasing a lock.

Fix this by adding a "deleted" lock state and cancelling the lock extension
process for that file and aborting all waiters for the lock.

Fixes: 0fafdc9f888b ("afs: Fix file locking")
Reported-by: Jonathan Billings <jsbillin@umich.edu>
Signed-off-by: David Howells <dhowells@redhat.com>