[PATCH] mtd-utils: use 'stat(2)' instead of 'lstat(2)'

Artem Bityutskiy dedekind at infradead.org
Mon Aug 25 05:57:32 EDT 2008


Hi,

On Mon, 2008-08-25 at 11:21 +0200, Enrico Scholz wrote:
> The UBI tools refuse to work with symlinks like
> '/dev/ubi/bootloader -> ../ubi0_2' because they use 'lstat(2)' and get
> information about the symlink but not about the device.  This is
> unwanted and fixed by this patch.
> 
> This patch renames 'struct stat stat' variables to 'st' to avoid
> compilation errors.

Applied and pushed, thank you!

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list