diff options
author | Kurt Hackel <kurt.hackel@oracle.com> | 2007-01-18 00:11:36 +0100 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-02-07 21:06:24 +0100 |
commit | 74aa25856c693d20a886cdb31a004aaca411d135 (patch) | |
tree | ea833f164771279a3141668e537e316c21027387 /fs/ocfs2/cluster/tcp.c | |
parent | ocfs2_dlm: Silence a failed convert (diff) | |
download | linux-74aa25856c693d20a886cdb31a004aaca411d135.tar.xz linux-74aa25856c693d20a886cdb31a004aaca411d135.zip |
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>
Diffstat (limited to 'fs/ocfs2/cluster/tcp.c')
0 files changed, 0 insertions, 0 deletions