aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/hfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hfs/dir.c b/fs/hfs/dir.c
index 5de5c48b418d..75b254280ff6 100644
--- a/fs/hfs/dir.c
+++ b/fs/hfs/dir.c
@@ -169,7 +169,7 @@ static int hfs_readdir(struct file *file, struct dir_context *ctx)
169 * Can be done after the list insertion; exclusion with 169 * Can be done after the list insertion; exclusion with
170 * hfs_delete_cat() is provided by directory lock. 170 * hfs_delete_cat() is provided by directory lock.
171 */ 171 */
172 memcpy(&rd->key, &fd.key, sizeof(struct hfs_cat_key)); 172 memcpy(&rd->key, &fd.key->cat, sizeof(struct hfs_cat_key));
173out: 173out:
174 hfs_find_exit(&fd); 174 hfs_find_exit(&fd);
175 return err; 175 return err;