xfs: Fix build breakage in xfs_iops.c when CONFIG_FS_POSIX_ACL is not set
authorMarkus Trippelsdorf <markus@trippelsdorf.de>
Tue, 26 Jul 2011 09:15:20 +0000 (11:15 +0200)
committerAlex Elder <aelder@sgi.com>
Fri, 29 Jul 2011 17:26:14 +0000 (12:26 -0500)
commita5a7bbcc0137e5cdad21cce0962f6be0b7ecf173
treeb0b9324b536da4c59390e58b5003f06829c718df
parent55f9c40ff632d03c527d6a6ceddcda0a224587a6
xfs: Fix build breakage in xfs_iops.c when CONFIG_FS_POSIX_ACL is not set

commit 4e34e719e45, that takes the ACL checks to common code,
accidentely broke the build when CONFIG_FS_POSIX_ACL is not set:

  CC      fs/xfs/linux-2.6/xfs_iops.o
fs/xfs/linux-2.6/xfs_iops.c:1025:14: error: ‘xfs_get_acl’ undeclared here (not in a function)

Fix this by declaring xfs_get_acl a static inline function.

Signed-off-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_acl.h