projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fs: port ->setattr() to pass mnt_idmap
[linux-block.git]
/
fs
/
configfs
/
inode.c
diff --git
a/fs/configfs/inode.c
b/fs/configfs/inode.c
index b601610e99075a9cdd6151578ed2578ab00106d5..1c15edbe70ff7395ebd464452f823c7ca60dfec6 100644
(file)
--- a/
fs/configfs/inode.c
+++ b/
fs/configfs/inode.c
@@
-32,7
+32,7
@@
static const struct inode_operations configfs_inode_operations ={
.setattr = configfs_setattr,
};
.setattr = configfs_setattr,
};
-int configfs_setattr(struct
user_namespace *mnt_userns
, struct dentry *dentry,
+int configfs_setattr(struct
mnt_idmap *idmap
, struct dentry *dentry,
struct iattr *iattr)
{
struct inode * inode = d_inode(dentry);
struct iattr *iattr)
{
struct inode * inode = d_inode(dentry);
@@
-60,7
+60,7
@@
int configfs_setattr(struct user_namespace *mnt_userns, struct dentry *dentry,
}
/* attributes were changed atleast once in past */
}
/* attributes were changed atleast once in past */
- error = simple_setattr(
mnt_userns
, dentry, iattr);
+ error = simple_setattr(
idmap
, dentry, iattr);
if (error)
return error;
if (error)
return error;