Messages in this thread | | | Date | Mon, 11 May 2015 18:10:04 +0200 | From | David Sterba <> | Subject | Re: [PATCH v2 5/6] Btrfs: unify subvol= and subvolid= mounting |
| |
On Thu, Apr 09, 2015 at 02:34:55PM -0700, Omar Sandoval wrote: > Currently, mounting a subvolume with subvolid= takes a different code > path than mounting with subvol=. This isn't really a big deal except for > the fact that mounts done with subvolid= or the default subvolume don't > have a dentry that's connected to the dentry tree like in the subvol= > case. To unify the code paths, when given subvolid= or using the default > subvolume ID, translate it into a subvolume name by walking > ROOT_BACKREFs in the root tree and INODE_REFs in the filesystem trees. > > Signed-off-by: Omar Sandoval <osandov@osandov.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
| |