tech-kern archive

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

Re: bread()'s cred



On 27 Mar 2015, at 18:49, Maxime Villard <max%M00nBSD.net@localhost> wrote:

> Hi,
> 
>     int
>     bread(struct vnode *vp, daddr_t blkno, int size, struct kauth_cred *cred,
>         int flags, buf_t **bpp);
> 
> Actually here the 'cred' argument is useless.
> 
> Ok if I remove it?

Looks ok to me.

Please take a look at breadn() too.

--
J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig (Germany)



Home | Main Index | Thread Index | Old Index