Commit da57881c authored by Jeff Dike's avatar Jeff Dike

One last fix to the ubd driver, allowing UML to boot.

parent c0046584
......@@ -674,7 +674,7 @@ static int ubd_open(struct inode *inode, struct file *filp)
"errno = %d\n", n, dev->file, -err);
return(err);
}
err = ubd_file_size(dev, &dev->size);
err = ubd_revalidate(inode->i_rdev);
if(err) return(err);
}
dev->count++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment