btrfs-progs: make set/get functions for the super compat_ro flags use compat_ro
authorEric Sandeen <sandeen@redhat.com>
Mon, 5 Aug 2013 21:49:33 +0000 (16:49 -0500)
committerDavid Sterba <dsterba@suse.cz>
Tue, 3 Sep 2013 17:40:48 +0000 (19:40 +0200)
commit560f0713139b6a1fbe059d895dd059e6a98ec18b
tree9b9996d5ca4b81e08da56ceb3b3a68a82aef78fa
parentc82ded6dbb9d739dff4bc3202d34721467ed0e75
btrfs-progs: make set/get functions for the super compat_ro flags use compat_ro

Port of commit 12534832 to userspace:

 commit 12534832cb7b0abc7369298246e8b7af03b863ca
 Author: Josef Bacik <josef@redhat.com>
 Date:   Thu Dec 17 21:32:27 2009 +0000

    Btrfs: make set/get functions for the super compat_ro flags use compat_ro

    Our set/get functions for compat_ro_flags actually look at compat_flags.  This
    will mess any attempt to use compat flags up.  The fix is obvious.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
ctree.h