From: Dave Chinner Date: Thu, 22 Mar 2012 05:15:06 +0000 (+0000) Subject: xfs: Fix open flag handling in open_by_handle code X-Git-Tag: v3.4-rc1~55^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a1d772433d42aaff7315b3468fef5951604f5c6;p=pandora-kernel.git 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 Reviewed-by: Christoph Hellwig Reviewed-by: Mark Tinguely Signed-off-by: Ben Myers --- Reading git-diff-tree failed