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)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 1 Aug 2011 06:35:04 +0000 (02:35 -0400)
commit206d440f64030b6425841bf7cb38e26a5ea0c382
tree59be5f26a3b7ae922927c5d78082a37cdc5bb511
parent43c1c9cd244098012441b90c32304f11f1258d43
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: Al Viro <viro@zeniv.linux.org.uk>
fs/xfs/xfs_acl.h