Re: [PATCH 03/20] block, blksnap: module management interface functions

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

 



> +static int ioctl_snapshot_wait_event(unsigned long arg)
> +{
> +	int ret = 0;
> +	struct blk_snap_snapshot_event *karg;
> +	struct event *event;
> +
> +	//pr_debug("Wait event\n");

please avoid avove comment style and remove debug statements.

> +	karg = kzalloc(sizeof(struct blk_snap_snapshot_event), GFP_KERNEL);
> +	if (!karg)
> +		return -ENOMEM;

-ck






[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux