diff options
| author | David Howells <[email protected]> | 2007-07-31 00:38:49 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-07-31 15:39:40 -0700 |
| commit | ff8e210a9550ad760a62e9803938cd04f9fb0851 (patch) | |
| tree | 5fa45dae4ca7a180db2e83e4bc731c2a567f1f0d /scripts/patch-kernel | |
| parent | b34bd06e485abf5b24fc13a9a988ebf4d2915dd6 (diff) | |
AFS: fix file locking
Fix file locking for AFS:
(*) Start the lock manager thread under a mutex to avoid a race.
(*) Made the locking non-fair: New readlocks will jump pending writelocks if
there's a readlock currently granted on a file. This makes the behaviour
similar to Linux's VFS locking.
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions