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

Re: [cdi-devel] [PATCH] libext2: Don't destroy boot loader



On Thu, Jan 02, 2014 at 02:22:21PM +0100, Kevin Wolf wrote:
> The first 1024 bytes on the disk must be left alone. If they are part of
> the first block, they need to be included in the write request of each
> superblock update because the cache works only at the granularity of
> filesystem blocks.
> 
> Signed-off-by: Kevin Wolf <kevin@xxxxxxxxxx>
> ---
> 
> Imported from libext2.git, translated commit message for cdi.git
> 
>  ext2/libext2/fs.c           |   21 +++++++++++++++++----
>  ext2/libext2/include/ext2.h |    3 +++
>  ext2/libext2/superblock.c   |   14 ++++++++++++--
>  3 files changed, 32 insertions(+), 6 deletions(-)

Apparently there are no objections, so I pushed this fix now.

Kevin