diff options
author | kevlo <kevlo@FreeBSD.org> | 2012-03-13 10:04:13 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2012-03-13 10:04:13 +0000 |
commit | af6e15978bd9add0d2d5418ff226ef159c430d36 (patch) | |
tree | 68dc9cb24fb4e9dcea1141e07527c0c5e934fa98 /sys/fs/nullfs | |
parent | ffaa080e67a7f9d93841c0fdff2afac0b9b099b4 (diff) | |
download | FreeBSD-src-af6e15978bd9add0d2d5418ff226ef159c430d36.zip FreeBSD-src-af6e15978bd9add0d2d5418ff226ef159c430d36.tar.gz |
Use NULL instead of 0
Diffstat (limited to 'sys/fs/nullfs')
-rw-r--r-- | sys/fs/nullfs/null_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c index 0d70f93..08f722a 100644 --- a/sys/fs/nullfs/null_vfsops.c +++ b/sys/fs/nullfs/null_vfsops.c @@ -188,7 +188,7 @@ nullfs_mount(struct mount *mp) mp->mnt_kern_flag |= lowerrootvp->v_mount->mnt_kern_flag & (MNTK_MPSAFE | MNTK_SHARED_WRITES); MNT_IUNLOCK(mp); - mp->mnt_data = xmp; + mp->mnt_data = xmp; vfs_getnewfsid(mp); vfs_mountedfrom(mp, target); @@ -224,7 +224,7 @@ nullfs_unmount(mp, mntflags) * Finally, throw away the null_mount structure */ mntdata = mp->mnt_data; - mp->mnt_data = 0; + mp->mnt_data = NULL; free(mntdata, M_NULLFSMNT); return 0; } |