]> Zhao Yanbai Git Server - minix.git/commit
filesystems: return ENOSYS for REQ_PEEK 14/414/6
authorBen Gras <ben@minix3.org>
Wed, 20 Mar 2013 17:04:39 +0000 (17:04 +0000)
committerBen Gras <ben@minix3.org>
Wed, 24 Apr 2013 10:18:10 +0000 (10:18 +0000)
commit75c5fe4c26ea6b220e4b94c7f902116cb0c24277
tree458baa781d71626d2edefd10cd6e26eb0dbcd6a1
parentadf2032bc09072dbf9e7fef121a273df9e86a42f
filesystems: return ENOSYS for REQ_PEEK

The filesystems already implement REQ_PEEK, but do not fully
use the new filesystem cache code yet. (Because it isn't committed
yet..) REQ_PEEK should be disabled for them until they do.

This indicates to VFS that they are not annotating their cache
blocks (in VM) with inode number/offset info, and therefore mmap()
shouldn't succeed on any of their files. (Most importantly exec()
won't fallback elegantly otherwise.)

Change-Id: Ic57ee422864b4bbc031eadba32973270907b02fd
servers/ext2/table.c
servers/iso9660fs/table.c
servers/mfs/table.c