AFS: implement file locking
Implement file locking for AFS. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
b0fed3140f
commit
e8d6c55412
@@ -35,6 +35,7 @@ int afs_abort_to_error(u32 abort_code)
|
||||
case VOVERQUOTA: return -EDQUOT;
|
||||
case VBUSY: return -EBUSY;
|
||||
case VMOVED: return -ENXIO;
|
||||
case 0x2f6df0a: return -EWOULDBLOCK;
|
||||
case 0x2f6df0c: return -EACCES;
|
||||
case 0x2f6df0f: return -EBUSY;
|
||||
case 0x2f6df10: return -EEXIST;
|
||||
|
Reference in New Issue
Block a user