diff options
author | alc <alc@FreeBSD.org> | 2010-10-02 17:58:57 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2010-10-02 17:58:57 +0000 |
commit | e9dc33bfce177d81402bea81ce874ef0bb9f3536 (patch) | |
tree | 231038e49d85b5a1dad38d0e85bc2f354c7c0c06 /sys/fs/nwfs | |
parent | 0be508d1c1e42e4d05044d3b1a87096a035d56ba (diff) | |
download | FreeBSD-src-e9dc33bfce177d81402bea81ce874ef0bb9f3536.zip FreeBSD-src-e9dc33bfce177d81402bea81ce874ef0bb9f3536.tar.gz |
M_USE_RESERVE has been deprecated for a decade. Eliminate any uses that
have no run-time effect.
Diffstat (limited to 'sys/fs/nwfs')
-rw-r--r-- | sys/fs/nwfs/nwfs_vfsops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/fs/nwfs/nwfs_vfsops.c b/sys/fs/nwfs/nwfs_vfsops.c index 497414e..c20159f 100644 --- a/sys/fs/nwfs/nwfs_vfsops.c +++ b/sys/fs/nwfs/nwfs_vfsops.c @@ -186,8 +186,7 @@ static int nwfs_mount(struct mount *mp) ncp_conn_unlock(conn, td); /* we keep the ref */ mp->mnt_stat.f_iosize = conn->buffer_size; /* We must malloc our own mount info */ - nmp = malloc(sizeof(struct nwmount),M_NWFSDATA, - M_WAITOK | M_USE_RESERVE | M_ZERO); + nmp = malloc(sizeof(struct nwmount), M_NWFSDATA, M_WAITOK | M_ZERO); if (nmp == NULL) { nwfs_printf("could not alloc nwmount\n"); error = ENOMEM; |