]> www.infradead.org Git - users/dwmw2/linux.git/commit
debugfs show actual source in /proc/mounts
authorMarc Aurèle La France <tsi@tuyoix.net>
Sat, 10 Aug 2024 19:25:27 +0000 (13:25 -0600)
committerChristian Brauner <brauner@kernel.org>
Fri, 30 Aug 2024 06:22:37 +0000 (08:22 +0200)
commit3a987b88a42593875f6345188ca33731c7df728c
tree315761ece78f533c180be16de7d0c1b89208df45
parent1c48d441468c425e878d81c5c3e7ff8a9a594cc0
debugfs show actual source in /proc/mounts

After its conversion to the new mount API, debugfs displays "none" in
/proc/mounts instead of the actual source.  Fix this by recognising its
"source" mount option.

Signed-off-by: Marc Aurèle La France <tsi@tuyoix.net>
Link: https://lore.kernel.org/r/e439fae2-01da-234b-75b9-2a7951671e27@tuyoix.net
Fixes: a20971c18752 ("vfs: Convert debugfs to use the new mount API")
Cc: stable@vger.kernel.org # 6.10.x: 49abee5991e1: debugfs: Convert to new uid/gid option parsing helpers
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/debugfs/inode.c