ocfs2/dlm: Hard code the values for enums
authorSunil Mushran <sunil.mushran@oracle.com>
Tue, 21 Dec 2010 00:35:01 +0000 (16:35 -0800)
committerJoel Becker <joel.becker@oracle.com>
Thu, 23 Dec 2010 02:34:46 +0000 (18:34 -0800)
commit079ffb743c622fe2189b75614427c56e8391498b
treea6618e7e8bc95041d1ac6a4650be7c1840c71bd8
parent37096a7927decb0b1d3c2514b8adb4583a834112
ocfs2/dlm: Hard code the values for enums

In o2dlm, the enumerated message values are part of the protocol.
The patch hard codes each value so as to reduce the chance of an editing
error causing a protocol mismatch.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/dlm/dlmcommon.h