]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: create the uuid tree on remount rw
authorJosef Bacik <jbacik@fusionio.com>
Sat, 21 Sep 2013 02:33:20 +0000 (22:33 -0400)
committerChris Mason <chris.mason@fusionio.com>
Sat, 21 Sep 2013 15:50:43 +0000 (11:50 -0400)
commit08427e182c2b895d29e92d2f5fd78df48c312075
treed18b77aca3d6efe5b61c95c6b51e630d387eec4b
parentdf2e2253b1a2d7eb5256ebdad7807ec575238ae2
Btrfs: create the uuid tree on remount rw

Users have been complaining of the uuid tree stuff warning that there is no uuid
root when trying to do snapshot operations.  This is because if you mount -o ro
we will not create the uuid tree.  But then if you mount -o rw,remount we will
still not create it and then any subsequent snapshot/subvol operations you try
to do will fail gloriously.  Fix this by creating the uuid_root on remount rw if
it was not already there.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/super.c