aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/dir.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-01-25 03:01:51 -0500
committerDavid Teigland <teigland@redhat.com>2008-02-04 02:24:07 -0500
commit4007685c6e6b5c92a07f27cd754bcca394168af2 (patch)
tree74b9f2966603d2a9fc795e9d58a84c721befd7ab /fs/dlm/dir.c
parent93ff2971e99c90d1c4d39d242ef6050d2dc853d3 (diff)
dlm: use proper type for ->ls_recover_buf
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/dir.c')
-rw-r--r--fs/dlm/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/dir.c b/fs/dlm/dir.c
index ff97ba924333..ce30136671b3 100644
--- a/fs/dlm/dir.c
+++ b/fs/dlm/dir.c
@@ -235,7 +235,7 @@ int dlm_recover_directory(struct dlm_ls *ls)
235 * pick namelen/name pairs out of received buffer 235 * pick namelen/name pairs out of received buffer
236 */ 236 */
237 237
238 b = ls->ls_recover_buf + sizeof(struct dlm_rcom); 238 b = ls->ls_recover_buf->rc_buf;
239 239
240 for (;;) { 240 for (;;) {
241 memcpy(&namelen, b, sizeof(uint16_t)); 241 memcpy(&namelen, b, sizeof(uint16_t));