Re: [PATCH] fscache: add leave debug tracing in fscache_submit_op

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some other place may exist this problem too. Will send them together latter.

Thanks,
Kun.

在 2020/11/10 15:11, yangerkun 写道:
There is a enter tracing in fscache_submit_op without a leave tracing.
This may confuse someone when read the debug log.

Signed-off-by: yangerkun <yangerkun@xxxxxxxxxx>
---
  fs/fscache/operation.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/fs/fscache/operation.c b/fs/fscache/operation.c
index 4a5651d4904e..00cc6b0420cb 100644
--- a/fs/fscache/operation.c
+++ b/fs/fscache/operation.c
@@ -309,6 +309,7 @@ int fscache_submit_op(struct fscache_object *object,
  	}
spin_unlock(&object->lock);
+	_leave(" = %d", ret);
  	return ret;
  }


--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux