diff options
author | Wendy Cheng <wcheng@redhat.com> | 2007-11-29 17:56:51 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-01-25 03:08:15 -0500 |
commit | c97bfe4351771675963e02f34d31e206fd2d7150 (patch) | |
tree | 9ee4de86cacc54f3e49135a4ce39cf7a236efb31 /fs/gfs2/ops_inode.h | |
parent | bcd405599faa16cf32a3d3f1ce6a1e12cb37fede (diff) |
[GFS2] Remove lock methods for lock_nolock protocol
GFS2 supports two modes of locking - lock_nolock for single node filesystem
and lock_dlm for cluster mode locking. The gfs2 lock methods are removed from
file operation table for lock_nolock protocol. This would allow VFS to handle
posix lock and flock logics just like other in-tree filesystems without
duplication.
Signed-off-by: S. Wendy Cheng <wcheng@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_inode.h')
-rw-r--r-- | fs/gfs2/ops_inode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/ops_inode.h b/fs/gfs2/ops_inode.h index edb519cb05ee..fd8cee231e1d 100644 --- a/fs/gfs2/ops_inode.h +++ b/fs/gfs2/ops_inode.h | |||
@@ -18,6 +18,8 @@ extern const struct inode_operations gfs2_symlink_iops; | |||
18 | extern const struct inode_operations gfs2_dev_iops; | 18 | extern const struct inode_operations gfs2_dev_iops; |
19 | extern const struct file_operations gfs2_file_fops; | 19 | extern const struct file_operations gfs2_file_fops; |
20 | extern const struct file_operations gfs2_dir_fops; | 20 | extern const struct file_operations gfs2_dir_fops; |
21 | extern const struct file_operations gfs2_file_fops_nolock; | ||
22 | extern const struct file_operations gfs2_dir_fops_nolock; | ||
21 | 23 | ||
22 | extern void gfs2_set_inode_flags(struct inode *inode); | 24 | extern void gfs2_set_inode_flags(struct inode *inode); |
23 | 25 | ||