scoutfs: add end to _dirty, _delete_many, _update

These transformations are mechanical and there aren't many callers of
these so we combine them into one commit.

Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
Zach Brown
2017-07-19 13:30:03 -07:00
parent d78ed098a7
commit d5b4677e7f
4 changed files with 16 additions and 29 deletions
+2 -2
View File
@@ -428,7 +428,7 @@ int scoutfs_dirty_inode_item(struct inode *inode)
scoutfs_inode_init_key(&key, &ikey, scoutfs_ino(inode));
ret = scoutfs_item_dirty(sb, &key);
ret = scoutfs_item_dirty(sb, &key, NULL);
if (!ret)
trace_scoutfs_dirty_inode(inode);
return ret;
@@ -551,7 +551,7 @@ void scoutfs_update_inode_item(struct inode *inode)
scoutfs_inode_init_key(&key, &ikey, scoutfs_ino(inode));
scoutfs_kvec_init(val, &sinode, sizeof(sinode));
err = scoutfs_item_update(sb, &key, val);
err = scoutfs_item_update(sb, &key, val, NULL);
if (err) {
scoutfs_err(sb, "inode %llu update err %d",
scoutfs_ino(inode), err);