1
0
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:
Ian Dowse 2002-02-18 12:46:18 +00:00
parent e6f71b525d
commit b01bcf4c74
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90846

View File

@ -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)