summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_acl.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@sgi.com>2005-11-02 15:06:18 +1100
committerNathan Scott <nathans@sgi.com>2005-11-02 15:06:18 +1100
commit5bde1ba99c8243617277f37897189c799e398baf (patch)
treed41b5f972c3b7f07cd0ea3af7c3f2775208e4f40 /fs/xfs/xfs_acl.c
parent9dac13e7ffddf40c7bf1bf8bf4f735af6c3d31ec (diff)
downloadlinux-stable-5bde1ba99c8243617277f37897189c799e398baf.tar.gz
linux-stable-5bde1ba99c8243617277f37897189c799e398baf.tar.bz2
linux-stable-5bde1ba99c8243617277f37897189c799e398baf.zip
[XFS] silence gcc4 warnings. the directory ones are wrong because of
information gcc could not find out (that a directory always has a .. entry), the others are outright gcc bugs. SGI-PV: 943511 SGI-Modid: xfs-linux:xfs-kern:200055a Signed-off-by: Christoph Hellwig <hch@sgi.com> Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_acl.c')
-rw-r--r--fs/xfs/xfs_acl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_acl.c b/fs/xfs/xfs_acl.c
index 571bb3205d50..cc9c91b9e771 100644
--- a/fs/xfs/xfs_acl.c
+++ b/fs/xfs/xfs_acl.c
@@ -436,6 +436,7 @@ xfs_acl_access(
int seen_userobj = 0;
matched.ae_tag = 0; /* Invalid type */
+ matched.ae_perm = 0;
md >>= 6; /* Normalize the bits for comparison */
for (i = 0; i < fap->acl_cnt; i++) {