]> git.baikalelectronics.ru Git - kernel.git/commit
[GFS2] Remove lock methods for lock_nolock protocol
authorWendy Cheng <wcheng@redhat.com>
Thu, 29 Nov 2007 22:56:51 +0000 (17:56 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:08:15 +0000 (08:08 +0000)
commit5aa4d84afee7016f747885baa1ee6468ce935502
tree9ee4de86cacc54f3e49135a4ce39cf7a236efb31
parente2dcdb2ae3095f5e5ee80bdefd9b4d9c9e534855
[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>
fs/gfs2/inode.c
fs/gfs2/ops_file.c
fs/gfs2/ops_inode.h