]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Btrfs: show subvol= and subvolid= in /proc/mounts
authorOmar Sandoval <osandov@osandov.com>
Mon, 18 May 2015 09:16:31 +0000 (02:16 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 8 Jun 2017 06:21:34 +0000 (23:21 -0700)
commit4b00c6271a0c1a810bd8e4fb3e72959c941516e3
tree53f7190ab1ac2ecd00a06c43865790a1339c7ede
parent07c5d8409a6cd97a979e71519b242452762d48fb
Btrfs: show subvol= and subvolid= in /proc/mounts

Orabug: 26088734

Now that we're guaranteed to have a meaningful root dentry, we can just
export seq_dentry() and use it in btrfs_show_options(). The subvolume ID
is easy to get and can also be useful, so put that in there, too.

Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Omar Sandoval <osandov@osandov.com>
Signed-off-by: Chris Mason <clm@fb.com>
(cherry picked from commit c8d3fe028f64054d75c72566efb9ecf3c75ee161)
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
fs/btrfs/super.c
fs/seq_file.c