diff options
Diffstat (limited to 'fs/jfs/jfs_acl.h')
| -rw-r--r-- | fs/jfs/jfs_acl.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/fs/jfs/jfs_acl.h b/fs/jfs/jfs_acl.h index a3acd3eec059..a76293767c73 100644 --- a/fs/jfs/jfs_acl.h +++ b/fs/jfs/jfs_acl.h | |||
| @@ -21,8 +21,16 @@ | |||
| 21 | #ifdef CONFIG_JFS_POSIX_ACL | 21 | #ifdef CONFIG_JFS_POSIX_ACL |
| 22 | 22 | ||
| 23 | int jfs_permission(struct inode *, int, struct nameidata *); | 23 | int jfs_permission(struct inode *, int, struct nameidata *); |
| 24 | int jfs_init_acl(struct inode *, struct inode *); | 24 | int jfs_init_acl(tid_t, struct inode *, struct inode *); |
| 25 | int jfs_setattr(struct dentry *, struct iattr *); | 25 | int jfs_setattr(struct dentry *, struct iattr *); |
| 26 | 26 | ||
| 27 | #endif /* CONFIG_JFS_POSIX_ACL */ | 27 | #else |
| 28 | |||
| 29 | static inline int jfs_init_acl(tid_t tid, struct inode *inode, | ||
| 30 | struct inode *dir) | ||
| 31 | { | ||
| 32 | return 0; | ||
| 33 | } | ||
| 34 | |||
| 35 | #endif | ||
| 28 | #endif /* _H_JFS_ACL */ | 36 | #endif /* _H_JFS_ACL */ |
