Adjust reiser4 to vfs changes: inode_setattr() has been removed. Signed-off-by: Edward Shishkin <edward.shishkin@xxxxxxxxx> --- fs/reiser4/plugin/inode_ops.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) --- mmotm.orig/fs/reiser4/plugin/inode_ops.c +++ mmotm/fs/reiser4/plugin/inode_ops.c @@ -446,7 +446,9 @@ int reiser4_setattr_common(struct dentry assert("nikita-3119", !(attr->ia_valid & ATTR_SIZE)); /* - * grab disk space and call standard inode_setattr(). + * grab disk space and call standard + * setattr_copy(); + * mark_inode_dirty(). */ result = setattr_reserve(reiser4_tree_by_inode(inode)); if (!result) { @@ -460,9 +462,9 @@ int reiser4_setattr_common(struct dentry return result; } } - result = inode_setattr(inode, attr); - if (!result) - reiser4_update_sd(inode); + setattr_copy(inode, attr); + mark_inode_dirty(inode); + result = reiser4_update_sd(inode); } context_set_commit_async(ctx);