]> git.baikalelectronics.ru Git - kernel.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)
committerAlex Elder <aelder@sgi.com>
Fri, 29 Jul 2011 17:26:14 +0000 (12:26 -0500)
commit90128a053fe3a3f721ea10e3259ac842a5699fe8
treeb0b9324b536da4c59390e58b5003f06829c718df
parente123fddf34fa776842982d0b49dec0aecab2695e
xfs: Fix build breakage in xfs_iops.c when CONFIG_FS_POSIX_ACL is not set

commit df67f625a48, 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