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
938be08b69
commit
04dec30982
@ -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 New Issue
Block a user