[PATCH] DEBUG

From: Thibaut Sautereau
Date: Wed Oct 30 2019 - 18:12:51 EST


---
fs/fs_context.c | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/fs/fs_context.c b/fs/fs_context.c
index 87c2c9687d90..37c8d2b43ac8 100644
--- a/fs/fs_context.c
+++ b/fs/fs_context.c
@@ -491,6 +491,10 @@ void put_fs_context(struct fs_context *fc)
struct super_block *sb;

if (fc->root) {
+ pr_err("DEBUG: fc = %px\n", fc);
+ pr_err("DEBUG: fc->root = %px\n", fc->root);
+ pr_err("DEBUG: fc->source = %s\n", fc->source);
+ pr_err("DEBUG: fc->root->d_sb = %px\n", fc->root->d_sb);
sb = fc->root->d_sb;
dput(fc->root);
fc->root = NULL;
--
2.24.0


--LZvS9be/3tNcYl/X--