| .. | .. |
|---|
| 149 | 149 | extern long prune_icache_sb(struct super_block *sb, struct shrink_control *sc); |
|---|
| 150 | 150 | extern void inode_add_lru(struct inode *inode); |
|---|
| 151 | 151 | extern int dentry_needs_remove_privs(struct dentry *dentry); |
|---|
| 152 | +bool in_group_or_capable(const struct inode *inode, kgid_t gid); |
|---|
| 153 | +void lock_two_inodes(struct inode *inode1, struct inode *inode2, |
|---|
| 154 | + unsigned subclass1, unsigned subclass2); |
|---|
| 152 | 155 | |
|---|
| 153 | 156 | /* |
|---|
| 154 | 157 | * fs-writeback.c |
|---|
| .. | .. |
|---|
| 196 | 199 | */ |
|---|
| 197 | 200 | int do_statx(int dfd, const char __user *filename, unsigned flags, |
|---|
| 198 | 201 | unsigned int mask, struct statx __user *buffer); |
|---|
| 202 | + |
|---|
| 203 | +/* |
|---|
| 204 | + * fs/attr.c |
|---|
| 205 | + */ |
|---|
| 206 | +int setattr_should_drop_sgid(const struct inode *inode); |
|---|