acl.h (d0e99511834b6828c960e978d9a8cb6e5731250d) | acl.h (13e83a4923bea7c4f2f6714030cb7e56d20ef7e5) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * fs/f2fs/acl.h 4 * 5 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 6 * http://www.samsung.com/ 7 * 8 * Portions of this code from linux/fs/ext2/acl.h --- 20 unchanged lines hidden (view full) --- 29 30struct f2fs_acl_header { 31 __le32 a_version; 32}; 33 34#ifdef CONFIG_F2FS_FS_POSIX_ACL 35 36extern struct posix_acl *f2fs_get_acl(struct inode *, int, bool); | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * fs/f2fs/acl.h 4 * 5 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 6 * http://www.samsung.com/ 7 * 8 * Portions of this code from linux/fs/ext2/acl.h --- 20 unchanged lines hidden (view full) --- 29 30struct f2fs_acl_header { 31 __le32 a_version; 32}; 33 34#ifdef CONFIG_F2FS_FS_POSIX_ACL 35 36extern struct posix_acl *f2fs_get_acl(struct inode *, int, bool); |
37extern int f2fs_set_acl(struct user_namespace *, struct dentry *, | 37extern int f2fs_set_acl(struct mnt_idmap *, struct dentry *, |
38 struct posix_acl *, int); 39extern int f2fs_init_acl(struct inode *, struct inode *, struct page *, 40 struct page *); 41#else 42#define f2fs_get_acl NULL 43#define f2fs_set_acl NULL 44 45static inline int f2fs_init_acl(struct inode *inode, struct inode *dir, 46 struct page *ipage, struct page *dpage) 47{ 48 return 0; 49} 50#endif 51#endif /* __F2FS_ACL_H__ */ | 38 struct posix_acl *, int); 39extern int f2fs_init_acl(struct inode *, struct inode *, struct page *, 40 struct page *); 41#else 42#define f2fs_get_acl NULL 43#define f2fs_set_acl NULL 44 45static inline int f2fs_init_acl(struct inode *inode, struct inode *dir, 46 struct page *ipage, struct page *dpage) 47{ 48 return 0; 49} 50#endif 51#endif /* __F2FS_ACL_H__ */ |