diff options
Diffstat (limited to 'fs/dlm/dir.c')
-rw-r--r-- | fs/dlm/dir.c | 2 |
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)); |