[PATCH 2/2 V3] xfstests: test EROFS vs. EEXIST when creating on an RO filesystem

Dave Chinner david at fromorbit.com
Wed Jan 9 17:50:26 CST 2013


On Wed, Jan 09, 2013 at 10:17:59AM -0600, Eric Sandeen wrote:
> TBH, I don't know if this is posix-specified, but I found out the
> hard way that when trying to re-create existing files on a readonly 
> filesystem, some apps expect/handle EEXIST, but fail on EROFS.
> 
> This will test mkdir, mknod, and symlinks for that behavior.
> 
> Signed-off-by: Eric Sandeen <sandeen at redhat.com>
> ---

Looks fine.

Reviewed-by: Dave Chinner <dchinner at redhat.com>

-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list