Re: [PATCH v9 19/25] block/rnbd: server: private header with server structs and functions

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

 



On 2020-02-21 02:47, Jack Wang wrote:
> +/* Structure which binds N devices and N sessions */
> +struct rnbd_srv_sess_dev {
> +	/* Entry inside rnbd_srv_dev struct */
> +	struct list_head		dev_list;
> +	/* Entry inside rnbd_srv_session struct */
> +	struct list_head		sess_list;
> +	struct rnbd_dev		*rnbd_dev;
> +	struct rnbd_srv_session        *sess;
> +	struct rnbd_srv_dev		*dev;
> +	struct kobject                  kobj;
> +	struct completion		*sysfs_release_compl;
> +	u32                             device_id;
> +	fmode_t                         open_flags;
> +	struct kref			kref;
> +	struct completion               *destroy_comp;
> +	char				pathname[NAME_MAX];
> +	enum rnbd_access_mode		access_mode;
> +};
Please indent structure members consistently. Anyway:

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>



[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