summaryrefslogtreecommitdiffstats
path: root/fs/exfat/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/exfat/dir.c')
-rw-r--r--fs/exfat/dir.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/fs/exfat/dir.c b/fs/exfat/dir.c
index a9b13ae3f325..5fa751937932 100644
--- a/fs/exfat/dir.c
+++ b/fs/exfat/dir.c
@@ -978,11 +978,8 @@ rewind:
if (ei->hint_femp.eidx ==
EXFAT_HINT_NONE ||
candi_empty.eidx <=
- ei->hint_femp.eidx) {
- memcpy(&ei->hint_femp,
- &candi_empty,
- sizeof(candi_empty));
- }
+ ei->hint_femp.eidx)
+ ei->hint_femp = candi_empty;
}
brelse(bh);