mirror of
https://github.com/opnsense/src.git
synced 2026-03-14 22:53:16 -04:00
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:
parent
5fb6ae1091
commit
6994eebcab
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue