[xfs-masters] [PATCH] Fix xfs build when CONFIG_XFS_POSIX_ACL=n

Christoph Hellwig hch at lst.de
Thu Jul 15 13:00:38 CDT 2010


On Thu, Jul 15, 2010 at 10:18:07AM -0700, Luck, Tony wrote:
> 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 <tony.luck at intel.com>

Thanks, that's much better than the stubbing changes I had prepared.


Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the xfs-masters mailing list