Re: [PATCH] libext2fs: don't ignore fsync errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 20, 2016 at 09:23:29AM -0600, Eric Sandeen wrote:
> Today, if mke2fs experiences IO errors (say, on a thin device
> which filled up during mkfs), mke2fs is silent and returns
> success even though the filesystem was not properly created.
> 
> Catch errors from the io_channel_flush() callchain to
> fix this up.  Fix formatting of the printed error as
> well:
> 
> ...
> Creating journal (262144 blocks): done
> Writing superblocks and filesystem accounting information:          
> Warning, had trouble writing out superblocks.
> # echo $?
> 5
> 
> Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>

Applied, thanks.

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux