1
0
Fork 0
alistair23-linux/fs/ocfs2/dlm
Kurt Hackel 74aa25856c ocfs2_dlm: Cookies in locks not being printed correctly in error messages
The dlm encodes the node number and a sequence number in the lock cookie.
It also stores the cookie in the lockres in the big endian format to avoid
swapping 8 bytes on each lock request. The bug here was that it was assuming
the cookie to be in the cpu format when decoding it for printing the error
message. This patch swaps the bytes before the print.

Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
2007-02-07 12:06:24 -08:00
..
Makefile [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
dlmapi.h ocfs2: Allow binary names in the DLM 2006-09-24 13:50:42 -07:00
dlmast.c ocfs2_dlm: Cookies in locks not being printed correctly in error messages 2007-02-07 12:06:24 -08:00
dlmcommon.h ocfs2_dlm: Fixes race between migrate and dirty 2007-02-07 12:00:57 -08:00
dlmconvert.c ocfs2_dlm: Cookies in locks not being printed correctly in error messages 2007-02-07 12:06:24 -08:00
dlmconvert.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
dlmdebug.c ocfs2_dlm: Cookies in locks not being printed correctly in error messages 2007-02-07 12:06:24 -08:00
dlmdomain.c ocfs2_dlm: fix cluster-wide refcounting of lock resources 2007-02-07 11:53:07 -08:00
dlmdomain.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
dlmfs.c [PATCH] struct path: convert ocfs2 2006-12-08 08:28:48 -08:00
dlmfsver.c [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
dlmfsver.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
dlmlock.c ocfs2_dlm: fix cluster-wide refcounting of lock resources 2007-02-07 11:53:07 -08:00
dlmmaster.c ocfs2_dlm: wake up sleepers on the lockres waitqueue 2007-02-07 12:05:19 -08:00
dlmrecovery.c ocfs2_dlm: Cookies in locks not being printed correctly in error messages 2007-02-07 12:06:24 -08:00
dlmthread.c ocfs2_dlm: Fixes race between migrate and dirty 2007-02-07 12:00:57 -08:00
dlmunlock.c ocfs2_dlm: Cookies in locks not being printed correctly in error messages 2007-02-07 12:06:24 -08:00
dlmver.c [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
dlmver.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
userdlm.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
userdlm.h ocfs2: Update dlmfs for new dlmlock() API 2006-09-24 13:50:42 -07:00