Skip to contentSkip to conversation

OCFS2: add NFS Sync lock type string.

PATCH New wengang wang 2 participants 2 messages Apr 10, 2009 – Apr 13, 2009 OCFS2

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 OCFS2: add NFS Sync lock type string.

The lock type string for NFS Sync lock is missing from the last patch
http://oss.oracle.com/pipermail/ocfs2-devel/2009-March/004117.html

This patch is to add the lock type string.
This patch also applies to 1.4 git.

--

fs/ocfs2/ocfs2_lockid.h +1 -0
index a53ce87..e95cc7b 100644
@@ -104,6 +104,7 @@ static char *ocfs2_lock_type_strings[] = {
 	[OCFS2_LOCK_TYPE_OPEN] = "Open",
 	[OCFS2_LOCK_TYPE_FLOCK] = "Flock",
 	[OCFS2_LOCK_TYPE_QINFO] = "Quota",
+	[OCFS2_LOCK_TYPE_NFS_SYNC] = "NFS_Sync",
 };
 
 static inline const char *ocfs2_lock_type_string(enum ocfs2_lock_type type)
#1 lore raw

PATCH 1/1 OCFS2: add NFS Sync lock type string.

Quoted 26 lines · wengang wang

The lock type string for NFS Sync lock is missing from the last patch
http://oss.oracle.com/pipermail/ocfs2-devel/2009-March/004117.html

This patch is to add the lock type string.
This patch also applies to 1.4 git.

--

fs/ocfs2/ocfs2_lockid.h +1 -0
index a53ce87..e95cc7b 100644
@@ -104,6 +104,7 @@ static char *ocfs2_lock_type_strings[] = {
 	[OCFS2_LOCK_TYPE_OPEN] = "Open",
 	[OCFS2_LOCK_TYPE_FLOCK] = "Flock",
 	[OCFS2_LOCK_TYPE_QINFO] = "Quota",
+	[OCFS2_LOCK_TYPE_NFS_SYNC] = "NFS_Sync",
 };
 
 static inline const char *ocfs2_lock_type_string(enum ocfs2_lock_type type)

_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel at oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-devel