reiser4: remove inode_setattr
PATCH 4/6 reiser4: remove inode_setattr
Adjust reiser4 to vfs changes:inode_setattr() has been removed.
Signed-off-by Edward Shishkin <[email protected]>
--- fs/reiser4/plugin/inode_ops.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
fs/reiser4/plugin/inode_ops.c +6 -4
@@ -446,7 +446,9 @@ int reiser4_setattr_common(struct dentryassert ("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 dentryreturn 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);