[Ocfs2-commits] mfasheh commits r2324 - trunk/fs/ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed May 25 17:16:12 CDT 2005


Author: mfasheh
Signed-off-by: manish
Date: 2005-05-25 17:16:11 -0500 (Wed, 25 May 2005)
New Revision: 2324

Modified:
   trunk/fs/ocfs2/journal.c
Log:
* return a meaningful error

Signed-off-by: manish



Modified: trunk/fs/ocfs2/journal.c
===================================================================
--- trunk/fs/ocfs2/journal.c	2005-05-25 22:15:29 UTC (rev 2323)
+++ trunk/fs/ocfs2/journal.c	2005-05-25 22:16:11 UTC (rev 2324)
@@ -567,7 +567,7 @@
 	j_journal = journal_init_inode(inode);
 	if (j_journal == NULL) {
 		mlog(ML_ERROR, "Linux journal layer error\n");
-		status = -1;
+		status = -EINVAL;
 		goto done;
 	}
 



More information about the Ocfs2-commits mailing list