commit | 1a1d772433d42aaff7315b3468fef5951604f5c6 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Thu Mar 22 05:15:06 2012 +0000 |
committer | Ben Myers <bpm@sgi.com> | Thu Mar 22 15:56:52 2012 -0500 |
tree | 0f2b7e5ccf4e0a99fde158d95d1225ed81a2b34e | |
parent | 5575acc7807595687288b3bbac15103f2a5462e1 [diff] |
xfs: Fix open flag handling in open_by_handle code 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. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>