On Tue, Sep 15, 2015 at 04:46:22PM +0800, Anand Jain wrote: > Old kernel like 2.6.32 does not provide ioctl BTRFS_IOC_GET_FSLABEL. > So we need to provide a fail safe logic for btrfs-progs running > on those kernel. > > In this patch when get_label_mounted() fails on the old kernel > it will fail back to the old method and uses get_label_unmounted(), > where it will read from the disk directly. > > Signed-off-by: Anand Jain <anand.jain@xxxxxxxxxx> Applied, thanks. I've changed the reference to 3.9 where the label ioctl has been introduced. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
