|
8 | 8 | #endif
|
9 | 9 |
|
10 | 10 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 6, 0)
|
11 |
| -void compat_generic_fillattr(struct path *path, u32 request_mask, |
12 |
| - struct inode *inode, struct kstat *kstat) |
13 |
| -{ |
14 |
| - generic_fillattr(mnt_idmap(path->mnt), request_mask, |
15 |
| - inode, kstat); |
16 |
| - |
17 |
| -} |
18 |
| - |
19 | 11 | int compat_ksmbd_vfs_get_dos_attrib_xattr(const struct path *path,
|
20 | 12 | struct dentry *dentry,
|
21 | 13 | struct xattr_dos_attrib *da)
|
@@ -46,13 +38,6 @@ int compat_inode_permission(struct path *path, struct inode *inode, int mask)
|
46 | 38 |
|
47 | 39 | }
|
48 | 40 |
|
49 |
| -void compat_generic_fillattr(struct path *path, u32 request_mask, |
50 |
| - struct inode *inode, struct kstat *kstat) |
51 |
| -{ |
52 |
| - generic_fillattr(mnt_idmap(path->mnt), inode, kstat); |
53 |
| - |
54 |
| -} |
55 |
| - |
56 | 41 | int compat_ksmbd_vfs_get_dos_attrib_xattr(const struct path *path,
|
57 | 42 | struct dentry *dentry,
|
58 | 43 | struct xattr_dos_attrib *da)
|
@@ -81,12 +66,6 @@ int compat_inode_permission(struct path *path, struct inode *inode, int mask)
|
81 | 66 | {
|
82 | 67 | return inode_permission(mnt_user_ns(path->mnt), inode, mask);
|
83 | 68 |
|
84 |
| -} |
85 |
| -void compat_generic_fillattr(struct path *path, u32 request_mask, |
86 |
| - struct inode *inode, struct kstat *kstat) |
87 |
| -{ |
88 |
| - generic_fillattr(mnt_user_ns(path->mnt), inode, kstat); |
89 |
| - |
90 | 69 | }
|
91 | 70 |
|
92 | 71 | int compat_ksmbd_vfs_get_dos_attrib_xattr(const struct path *path,
|
@@ -118,11 +97,6 @@ int compat_inode_permission(struct path *path, struct inode *inode, int mask)
|
118 | 97 | return inode_permission(inode, mask);
|
119 | 98 |
|
120 | 99 | }
|
121 |
| -void compat_generic_fillattr(struct path *path, u32 request_mask, |
122 |
| - struct inode *inode, struct kstat *kstat) |
123 |
| -{ |
124 |
| - generic_fillattr(inode, kstat); |
125 |
| -} |
126 | 100 | int compat_ksmbd_vfs_get_dos_attrib_xattr(const struct path *path,
|
127 | 101 | struct dentry *dentry,
|
128 | 102 | struct xattr_dos_attrib *da)
|
|
0 commit comments