]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Remove the references to the deprecated zalloc kernel interface
authordavide <davide@FreeBSD.org>
Thu, 25 Oct 2012 20:23:04 +0000 (20:23 +0000)
committerdavide <davide@FreeBSD.org>
Thu, 25 Oct 2012 20:23:04 +0000 (20:23 +0000)
commitbac20b679d394666359241df51cd79eab738bc5a
tree80353a474646ca0a147c238f3a413986b57177bd
parent7a91df3c3792dc1bed5ff818447fc26896d809d1
- Remove the references to the deprecated zalloc kernel interface
- Use M_ZERO flag in malloc() rather than bzero()
- malloc() with M_NOWAIT can't return NULL so there's no need to check

Reviewed by: alc
Approved by: alc
sys/fs/smbfs/smbfs_smb.c
sys/fs/smbfs/smbfs_vfsops.c