]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/xfs/xfs_acl.h
Merge branch 'linus' into perf/urgent
[karo-tx-linux.git] / fs / xfs / xfs_acl.h
index 2c656ef49473b0f429d15861dfde1e1c6eb0b292..39632d94135490ac94dee48ff5f037d29d5592ac 100644 (file)
@@ -51,7 +51,10 @@ extern int posix_acl_default_exists(struct inode *inode);
 extern const struct xattr_handler xfs_xattr_acl_access_handler;
 extern const struct xattr_handler xfs_xattr_acl_default_handler;
 #else
-# define xfs_get_acl(inode, type)                      NULL
+static inline struct posix_acl *xfs_get_acl(struct inode *inode, int type)
+{
+       return NULL;
+}
 # define xfs_inherit_acl(inode, default_acl)           0
 # define xfs_acl_chmod(inode)                          0
 # define posix_acl_access_exists(inode)                        0