Re: [PATCH] [CIFS]: Add clamp_length support

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

 



Rohith Surabattula <rohiths.msft@xxxxxxxxx> wrote:

> +	credits = kmalloc(sizeof(struct cifs_credits), GFP_KERNEL);
> ...
> +	subreq->subreq_priv = credits;

Would it be better if I made it so that the netfs could specify the size of
the netfs_read_subrequest struct to be allocated, thereby allowing it to tag
extra data on the end?

David




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux