fs: Check for correct open mode
Check that readonly openen files is not written to and writeonly
files is not read from.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 1f3b611 commit facda5a9cbf535e401be6667c231e5516125145f
@Sascha Hauer Sascha Hauer authored on 15 Jul 2016
Showing 1 changed file
View
fs/fs.c