git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AFS: implement file locking
[pandora-kernel.git]
/
fs
/
afs
/
file.c
diff --git
a/fs/afs/file.c
b/fs/afs/file.c
index
aede7eb
..
525f7c5
100644
(file)
--- a/
fs/afs/file.c
+++ b/
fs/afs/file.c
@@
-34,6
+34,8
@@
const struct file_operations afs_file_operations = {
.mmap = generic_file_readonly_mmap,
.splice_read = generic_file_splice_read,
.fsync = afs_fsync,
+ .lock = afs_lock,
+ .flock = afs_flock,
};
const struct inode_operations afs_file_inode_operations = {