[Ocfs2-commits] mfasheh commits r2587 - branches/readonly-operation/fs/ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Sep 16 18:36:07 CDT 2005


Author: mfasheh
Date: 2005-09-16 18:36:06 -0500 (Fri, 16 Sep 2005)
New Revision: 2587

Modified:
   branches/readonly-operation/fs/ocfs2/super.c
Log:
* return -EROFS from ocfs2_sync_fs() when hard readonly



Modified: branches/readonly-operation/fs/ocfs2/super.c
===================================================================
--- branches/readonly-operation/fs/ocfs2/super.c	2005-09-16 23:24:39 UTC (rev 2586)
+++ branches/readonly-operation/fs/ocfs2/super.c	2005-09-16 23:36:06 UTC (rev 2587)
@@ -188,7 +188,7 @@
 	sb->s_dirt = 0;
 
 	if (ocfs2_is_hard_readonly(osb))
-		return 0;
+		return -EROFS;
 
 	if (wait) {
 		status = ocfs2_flush_truncate_log(osb);



More information about the Ocfs2-commits mailing list