From: Tony Luck Date: Tue, 20 Jul 2010 07:54:41 +0000 (+1000) Subject: xfs: Fix build when CONFIG_XFS_POSIX_ACL=n X-Git-Tag: v2.6.36-rc1~589^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f1a932f5d4d6ee71afb141914e2d5f11f27eee1;p=pandora-kernel.git xfs: Fix build when CONFIG_XFS_POSIX_ACL=n When CONFIG_XFS_POSIX_ACL is not set "xfs_check_acl" is #defined to NULL - which breaks the code attempting to add a tracepoint on this function. Only define the tracepoint when the function exists. Signed-off-by: Tony Luck Reviewed-by: Christoph Hellwig Signed-off-by: Dave Chinner --- Reading git-diff-tree failed