Re: [PATCH] btrfs: add "no file data" flag to btrfs send ioctl

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

 



On Mon, Jan 07, 2013 at 01:51:19PM -0800, Mark Fasheh wrote:
> +#define BTRFS_SEND_FLAG_NO_FILE_DATA     0x1
> +

> +	sctx->flags = arg->flags;
> +

For compatibility reasons, you should mask the user input value and only
allow the supported flag(s).

david
--
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