[PATCH 3/4] nvmet: Add controllers to configfs

Sagi Grimberg sagi at grimberg.me
Mon Nov 13 12:18:02 PST 2017


> +void nvmet_ctrl_configfs_del(struct nvmet_ctrl *ctrl)
> +{
> +	if (d_inode(ctrl->group.cg_item.ci_dentry))
> +		configfs_unregister_group(&ctrl->group);

I'm not sure I understand the conditional here, care to explain?



More information about the Linux-nvme mailing list