Hi
Suppose i do a read operation on a file which is on some xyz device.And this device is mounted with some flag may be MS_READONLY,MS_REMOUNT.Now if i do a write operation on this device i m not allowed to do so because the it has been mounted as read only.
My question is when read system call occurs where does it check that flag i.e is it after vfs_read() or in generic_file_read()?
--
Regards
Vashist