* [Ocfs2-devel] [PATCH 1/1] OCFS2: add NFS Sync lock type string.
@ 2009-04-10 5:34 wengang wang
2009-04-13 19:36 ` Sunil Mushran
0 siblings, 1 reply; 2+ messages in thread
From: wengang wang @ 2009-04-10 5:34 UTC (permalink / raw)
To: ocfs2-devel
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.
Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
--
diff --git a/fs/ocfs2/ocfs2_lockid.h b/fs/ocfs2/ocfs2_lockid.h
index a53ce87..e95cc7b 100644
--- a/fs/ocfs2/ocfs2_lockid.h
+++ b/fs/ocfs2/ocfs2_lockid.h
@@ -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)
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-13 19:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-10 5:34 [Ocfs2-devel] [PATCH 1/1] OCFS2: add NFS Sync lock type string wengang wang
2009-04-13 19:36 ` Sunil Mushran
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.