Messages in this thread | | | From | hooanon05@yahoo ... | Subject | Q. IMA and mark_files_ro() | Date | Thu, 18 Jun 2009 00:22:02 +0900 |
| |
I have a question about IMA. IMA tracks file-open and open for read/write individually based upon MAY_READ/WRITE or FMODE_READ/WRITE. But FMODE_WRITE may be dropped by mark_files_ro() which is called by emergency_remount(). In this case, 'readcount' and 'writecount' in IMA will be incorrect. And IMA will produce wrong messages.
It may not be necessary to support such case (because it is "emergency"), so I don't say it is a big problem. But I'd like to ask whether it is an intended behaviour or not.
Thanks in advance J. R. Okajima
| |