scoutfs: trace correct index item deletion

The trace point for deleting index items was using the wrong major and
minor.

Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
Zach Brown
2017-11-08 13:37:16 -08:00
committed by Mark Fasheh
parent 1c77473551
commit 5c3962d223
+2 -1
View File
@@ -779,7 +779,8 @@ static int update_index_items(struct super_block *sb,
if (ret || !will_del_index(si, type, major, minor))
return ret;
trace_scoutfs_delete_index_item(sb, type, major, minor, ino);
trace_scoutfs_delete_index_item(sb, type, si->item_majors[type],
si->item_minors[type], ino);
del_ikey.zone = SCOUTFS_INODE_INDEX_ZONE;
del_ikey.type = type;