diff options
Diffstat (limited to 'fs/ext2/dir.c')
-rw-r--r-- | fs/ext2/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/dir.c b/fs/ext2/dir.c index 5b5f52876b42..7442bdd1267a 100644 --- a/fs/ext2/dir.c +++ b/fs/ext2/dir.c | |||
@@ -592,7 +592,7 @@ int ext2_make_empty(struct inode *inode, struct inode *parent) | |||
592 | goto fail; | 592 | goto fail; |
593 | } | 593 | } |
594 | kaddr = kmap_atomic(page, KM_USER0); | 594 | kaddr = kmap_atomic(page, KM_USER0); |
595 | memset(kaddr, 0, chunk_size); | 595 | memset(kaddr, 0, chunk_size); |
596 | de = (struct ext2_dir_entry_2 *)kaddr; | 596 | de = (struct ext2_dir_entry_2 *)kaddr; |
597 | de->name_len = 1; | 597 | de->name_len = 1; |
598 | de->rec_len = cpu_to_le16(EXT2_DIR_REC_LEN(1)); | 598 | de->rec_len = cpu_to_le16(EXT2_DIR_REC_LEN(1)); |