[3.0-stable PATCH 09/36] xfs: Fix open flag handling in open_by_handle code

Dave Chinner david at fromorbit.com
Tue Dec 11 17:35:38 CST 2012


On Mon, Dec 03, 2012 at 05:42:17PM -0600, Mark Tinguely wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> Upstream commit: 1a1d772433d42aaff7315b3468fef5951604f5c6
> 
> Sparse identified some unsafe handling of open flags in the xfs open
> by handle ioctl code. Update the code to use the correct access
> macros to ensure that we handle the open flags correctly.

This isn't really fixing a bug. The code was not actually broken,
just old and warning about a potential problem. Hence I don't see
this as a stable candidate...

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list