Bugfix in remount()

From: Jan Kara (jack@suse.cz)
Date: Sat Apr 01 2000 - 17:42:57 EST


  Hello.

  There was a problem in remount(). After the remount invalidate_inodes() was
called. This might cause loosage of some data as some process might write something
while we were waiting in lock_super() and in foo_remount_fs(). I discussed this
problem with Andrea and we agreed that invalidate_inodes() after remount currently
isn't necessary and so the patch removes the call.
  BTW: I think we have another problem that for example when remounting ro nothing
prevents processes from opening files for writing after fs_may_remount_ro() was
called and before proper flags were set...

                                                        Honza



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:08 EST