Re: [PATCH v2 6/6] Btrfs: show subvol= and subvolid= in /proc/mounts

2015-05-11 Thread David Sterba
On Thu, Apr 09, 2015 at 02:34:56PM -0700, Omar Sandoval wrote: > 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. > >

Re: [PATCH v2 6/6] Btrfs: show subvol= and subvolid= in /proc/mounts

2015-05-11 Thread David Sterba
On Thu, Apr 09, 2015 at 02:34:56PM -0700, Omar Sandoval wrote: 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. Signed-off-by:

[PATCH v2 6/6] Btrfs: show subvol= and subvolid= in /proc/mounts

2015-04-09 Thread Omar Sandoval
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. Signed-off-by: Omar Sandoval --- fs/btrfs/super.c | 4 fs/seq_file.c| 1 +

[PATCH v2 6/6] Btrfs: show subvol= and subvolid= in /proc/mounts

2015-04-09 Thread Omar Sandoval
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. Signed-off-by: Omar Sandoval osan...@osandov.com --- fs/btrfs/super.c | 4