On Sat, Feb 13, 2016 at 10:01:39AM +0800, Anand Jain wrote:
> +     if (vol_args->flags & BTRFS_DEVICE_BY_ID) {
> +             ret = btrfs_rm_device(root, NULL, vol_args->devid);
> +     } else {
> +             vol_args->name[BTRFS_PATH_NAME_MAX] = '\0';

                               BTRFS_SUBVOL_NAME_MAX

Spotted by Chris,

fs/btrfs/ioctl.c:2703: warning: array subscript is above array bounds

my gcc version does not report that. Fixed and for-next pushed.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to