[PATCH 2/7] xfs: use mnt_want_write in compat_attrmulti ioctl

Dave Chinner david at fromorbit.com
Sun Jan 11 17:08:52 CST 2009


On Fri, Jan 09, 2009 at 05:11:06PM -0500, Christoph Hellwig wrote:
> The compat version of the attrmulti ioctl needs to ask for and then
> later release write access to the mount just like the native version,
> otherwise we could potentially write to read-only mounts.
> 
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Reviewed-by: Dave Chinner <david at fromorbit.com>

-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list