From 5c3962d223ecf753d2ad3120e5a1b8b840e88e92 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Mon, 6 Nov 2017 13:27:04 -0800 Subject: [PATCH] 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 --- kmod/src/inode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kmod/src/inode.c b/kmod/src/inode.c index cdb7275b..c9eecb9e 100644 --- a/kmod/src/inode.c +++ b/kmod/src/inode.c @@ -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;