Re: [PATCH 1/2] btrfs-progs: provide fail safe for BTRFS_IOC_GET_FSLABEL ioctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux