summaryrefslogtreecommitdiffstats
path: root/fs/afs/afs_fs.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2007-07-15 23:40:12 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 09:05:43 -0700
commite8d6c554126b830217c5e9f549e0e21f865a0a8a (patch)
treec43219c6ef4e6a9b4f0ac46d6bd8b675dc249a8b /fs/afs/afs_fs.h
parentb0fed3140f57c435d2783b698c5090f325c22bad (diff)
downloadlinux-stable-e8d6c554126b830217c5e9f549e0e21f865a0a8a.tar.gz
linux-stable-e8d6c554126b830217c5e9f549e0e21f865a0a8a.tar.bz2
linux-stable-e8d6c554126b830217c5e9f549e0e21f865a0a8a.zip
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>
Diffstat (limited to 'fs/afs/afs_fs.h')
-rw-r--r--fs/afs/afs_fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/afs/afs_fs.h b/fs/afs/afs_fs.h
index a18c374ebe08..eb647323d8f0 100644
--- a/fs/afs/afs_fs.h
+++ b/fs/afs/afs_fs.h
@@ -31,6 +31,9 @@ enum AFS_FS_Operations {
FSGETVOLUMEINFO = 148, /* AFS Get information about a volume */
FSGETVOLUMESTATUS = 149, /* AFS Get volume status information */
FSGETROOTVOLUME = 151, /* AFS Get root volume name */
+ FSSETLOCK = 156, /* AFS Request a file lock */
+ FSEXTENDLOCK = 157, /* AFS Extend a file lock */
+ FSRELEASELOCK = 158, /* AFS Release a file lock */
FSLOOKUP = 161, /* AFS lookup file in directory */
FSFETCHDATA64 = 65537, /* AFS Fetch file data */
FSSTOREDATA64 = 65538, /* AFS Store file data */