1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00

Fix a minor style(9) issue.

This commit is contained in:
Warner Losh 2014-08-02 05:05:05 +00:00
parent 190d685037
commit b65c3b8fab
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=269420

View File

@ -639,17 +639,15 @@ nandfs_get_node_raw(struct nandfs_device *nandfsdev, struct nandfsmount *nmp,
if (nmp) {
mp = nmp->nm_vfs_mountp;
error = getnewvnode("nandfs", mp, &nandfs_vnodeops, &nvp);
if (error) {
if (error)
return (error);
}
} else {
mp = NULL;
error = getnewvnode("snandfs", mp, &nandfs_system_vnodeops,
&nvp);
if (error) {
if (error)
return (error);
}
}
if (mp)
NANDFS_WRITELOCK(nandfsdev);