fs: port ->setattr() to pass mnt_idmap
[linux-block.git] / fs / configfs / inode.c
index b601610e99075a9cdd6151578ed2578ab00106d5..1c15edbe70ff7395ebd464452f823c7ca60dfec6 100644 (file)
@@ -32,7 +32,7 @@ static const struct inode_operations configfs_inode_operations ={
        .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);
@@ -60,7 +60,7 @@ int configfs_setattr(struct user_namespace *mnt_userns, struct dentry *dentry,
        }
        /* attributes were changed atleast once in past */
 
-       error = simple_setattr(mnt_userns, dentry, iattr);
+       error = simple_setattr(idmap, dentry, iattr);
        if (error)
                return error;