Skip to content
Commit 81952c7d authored by Robert Noland's avatar Robert Noland
Browse files

Use devfs_get_cdevpriv in mmap as well.

d_mmap gets called twice and we are only able to associate the file_priv
during the first call.  The second call will return EBADF and we need to
assume that the call was succesful.  d_mmap will not tolerate having an
error returned for the second call.
parent 073cb5ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment