]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 27 Jul 2011 07:47:15 +0000 (03:47 -0400)
commit37cdd92da570c4bd175103e76d3cc106f1f9f62c
tree717069871b416dd1ee2efd8546adcd180225b90d
parente371d46ae45488bcb112a99a7de462e9e3aa6764
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