mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Add the braces missed by revision 1.131.
Pointy hat to: rwatson
This commit is contained in:
parent
e6f71b525d
commit
b01bcf4c74
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90846
@ -198,9 +198,10 @@ vn_open_cred(ndp, flagp, cmode, cred)
|
||||
* Make sure that a VM object is created for VMIO support.
|
||||
*/
|
||||
if (vn_canvmio(vp) == TRUE) {
|
||||
if ((error = vfs_object_create(vp, td, cred)) != 0)
|
||||
if ((error = vfs_object_create(vp, td, cred)) != 0) {
|
||||
VOP_CLOSE(vp, fmode, cred, td);
|
||||
goto bad;
|
||||
}
|
||||
}
|
||||
|
||||
if (fmode & FWRITE)
|
||||
|
Loading…
Reference in New Issue
Block a user