Cast VFS_STATFS() in vfs_domount() to (void) to indicate that ignoring the

return value is intentional: this is simply an attempt to pre-cache the
statfs state.

Found with:	Coverity Prevent (tm)
MFC after:	3 days
This commit is contained in:
rwatson 2006-01-15 20:01:05 +00:00
parent 938be08b69
commit 04dec30982

View File

@ -860,7 +860,7 @@ vfs_domount(
if (mp->mnt_opt != NULL)
vfs_freeopts(mp->mnt_opt);
mp->mnt_opt = mp->mnt_optnew;
VFS_STATFS(mp, &mp->mnt_stat, td);
(void)VFS_STATFS(mp, &mp->mnt_stat, td);
}
/*
* Prevent external consumers of mount options from reading