File tree Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -884,9 +884,10 @@ EXPORT_SYMBOL (posix_acl_to_xattr);
884
884
* Return: On success, the size of the stored uapi posix acls, on error a
885
885
* negative errno.
886
886
*/
887
- ssize_t vfs_posix_acl_to_xattr (struct user_namespace * mnt_userns ,
888
- struct inode * inode , const struct posix_acl * acl ,
889
- void * buffer , size_t size )
887
+ static ssize_t vfs_posix_acl_to_xattr (struct user_namespace * mnt_userns ,
888
+ struct inode * inode ,
889
+ const struct posix_acl * acl , void * buffer ,
890
+ size_t size )
890
891
891
892
{
892
893
struct posix_acl_xattr_header * ext_acl = buffer ;
Original file line number Diff line number Diff line change @@ -35,23 +35,13 @@ posix_acl_xattr_count(size_t size)
35
35
#ifdef CONFIG_FS_POSIX_ACL
36
36
struct posix_acl * posix_acl_from_xattr (struct user_namespace * user_ns ,
37
37
const void * value , size_t size );
38
- ssize_t vfs_posix_acl_to_xattr (struct user_namespace * mnt_userns ,
39
- struct inode * inode , const struct posix_acl * acl ,
40
- void * buffer , size_t size );
41
38
#else
42
39
static inline struct posix_acl *
43
40
posix_acl_from_xattr (struct user_namespace * user_ns , const void * value ,
44
41
size_t size )
45
42
{
46
43
return ERR_PTR (- EOPNOTSUPP );
47
44
}
48
- static inline ssize_t vfs_posix_acl_to_xattr (struct user_namespace * mnt_userns ,
49
- struct inode * inode ,
50
- const struct posix_acl * acl ,
51
- void * buffer , size_t size )
52
- {
53
- return 0 ;
54
- }
55
45
#endif
56
46
57
47
int posix_acl_to_xattr (struct user_namespace * user_ns ,
You can’t perform that action at this time.
0 commit comments