diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2007-12-20 16:49:04 -0800 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2008-01-25 15:05:43 -0800 |
commit | 53fc622b9e829c8e632e45ef8c14f054388759c1 (patch) | |
tree | 6b8585ab00312dd798d8087c452393bf6cc0d344 /fs/ocfs2/ocfs2.h | |
parent | cf8e06f1a860d8680d6bb4ac8ec7d7724988e46f (diff) | |
download | lwn-53fc622b9e829c8e632e45ef8c14f054388759c1.tar.gz lwn-53fc622b9e829c8e632e45ef8c14f054388759c1.zip |
[PATCH 2/2] ocfs2: cluster aware flock()
Hook up ocfs2_flock(), using the new flock lock type in dlmglue.c. A new
mount option, "localflocks" is added so that users can revert to old
functionality as need be.
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/ocfs2.h')
-rw-r--r-- | fs/ocfs2/ocfs2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/ocfs2.h b/fs/ocfs2/ocfs2.h index 63c131e1cc77..22e334d125d0 100644 --- a/fs/ocfs2/ocfs2.h +++ b/fs/ocfs2/ocfs2.h @@ -171,6 +171,7 @@ enum ocfs2_mount_options OCFS2_MOUNT_NOINTR = 1 << 2, /* Don't catch signals */ OCFS2_MOUNT_ERRORS_PANIC = 1 << 3, /* Panic on errors */ OCFS2_MOUNT_DATA_WRITEBACK = 1 << 4, /* No data ordering */ + OCFS2_MOUNT_LOCALFLOCKS = 1 << 5, /* No cluster aware user file locks */ }; #define OCFS2_OSB_SOFT_RO 0x0001 |