Skip to content
Commit 14b8869f authored by Eric Van Hensbergen's avatar Eric Van Hensbergen
Browse files

9p: fix mmap to be read-only



v9fs was allowing writable mmap which could lead to kernel BUG() cases.
This sets the mmap function to generic_file_readonly_mmap which (correctly)
returns an error to applications which open mmap for writing.

Signed-off-by: default avatarEric Van Hensbergen <ericvh@gmail.com>
parent d199d652
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