The patch titled Subject: fat: use accessor function for msdos_dir_entry 'start' has been added to the -mm tree. Its filename is fat-use-accessor-function-for-msdos_dir_entry-start.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Namjae Jeon <linkinjeon@xxxxxxxxx> Subject: fat: use accessor function for msdos_dir_entry 'start' Use accessor function for msdos_dir_entry 'start' Signed-off-by: Namjae Jeon <linkinjeon@xxxxxxxxx> Signed-off-by: Amit Sahrawat <amit.sahrawat83@xxxxxxxxx> Acked-by: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/fat/dir.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff -puN fs/fat/dir.c~fat-use-accessor-function-for-msdos_dir_entry-start fs/fat/dir.c --- a/fs/fat/dir.c~fat-use-accessor-function-for-msdos_dir_entry-start +++ a/fs/fat/dir.c @@ -1141,10 +1141,8 @@ int fat_alloc_new_dir(struct inode *dir, de[0].ctime_cs = de[1].ctime_cs = 0; de[0].adate = de[0].cdate = de[1].adate = de[1].cdate = 0; } - de[0].start = cpu_to_le16(cluster); - de[0].starthi = cpu_to_le16(cluster >> 16); - de[1].start = cpu_to_le16(MSDOS_I(dir)->i_logstart); - de[1].starthi = cpu_to_le16(MSDOS_I(dir)->i_logstart >> 16); + fat_set_start(&de[0], cluster); + fat_set_start(&de[1], MSDOS_I(dir)->i_logstart); de[0].size = de[1].size = 0; memset(de + 2, 0, sb->s_blocksize - 2 * sizeof(*de)); set_buffer_uptodate(bhs[0]); _ Patches currently in -mm which might be from linkinjeon@xxxxxxxxx are documentation-update-mount-option-in-filesystem-vfattxt.patch linux-next.patch fat-use-accessor-function-for-msdos_dir_entry-start.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html