+ fs-fat-add-support-for-dos-1x-formatted-volumes-fix.patch added to -mm tree
Subject: + fs-fat-add-support-for-dos-1x-formatted-volumes-fix.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 03 Jun 2014 13:01:21 -0700
The patch titled
Subject: fat: Fix missed error code by "add support for DOS 1.x formatted volumes"
has been added to the -mm tree. Its filename is
fs-fat-add-support-for-dos-1x-formatted-volumes-fix.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/fs-fat-add-support-for-dos-1x-formatted-volumes-fix.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/fs-fat-add-support-for-dos-1x-formatted-volumes-fix.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: OGAWA Hirofumi <[email protected]>
Subject: fat: Fix missed error code by "add support for DOS 1.x formatted volumes"
In "add support for DOS 1.x formatted volumes" patch, "error" is overwritten by fat_read_bpb().
This patch reset "error" to -EIO, to return proper error.
---
fs/fat/inode.c | 1 + 1 file changed, 1 insertion(+)
fs/fat/inode.c renamed from fs/fat/inode.c~fs-fat-add-support-for-dos-1x-formatted-volumes-fix +1 -0
@@ -1543,6 +1543,7 @@ int fat_fill_super(struct super_block *s logical_sector_size = bpb.fat_sector_size; sbi->sec_per_clus = bpb.fat_sec_per_clus; + error = -EIO ;if (logical_sector_size < sb->s_blocksize) {fat_msg (sb,KERN_ERR ,"logical sector size too small for device" " (logical sector size = %u)" , logical_sector_size);
_
Patches currently in -mm which might be from [email protected] are
fs-fat-add-support-for-dos-1x-formatted-volumes.patch fs-fat-add-support-for-dos-1x-formatted-volumes-fix.patch fs-fat-cleanup-string-initializations-char-instead-of-char.patch fat-add-i_disksize-to-represent-uninitialized-size-v4.patch fat-add-fat_fallocate-operation-v4.patch fat-zero-out-seek-range-on-_fat_get_block-v4.patch fat-fallback-to-buffered-write-in-case-of-fallocated-region-on-direct-io-v4.patch fat-permit-to-return-phy-block-number-by-fibmap-in-fallocated-region-v4.patch documentation-filesystems-vfattxt-update-the-limitation-for-fat-fallocate-v4.patch