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

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Jun 28 16:07:37 CDT 2005


Author: mfasheh
Signed-off-by: jlbec
Date: 2005-06-23 21:15:41 -0500 (Thu, 23 Jun 2005)
New Revision: 2424

Modified:
   trunk/fs/ocfs2/aops.c
   trunk/fs/ocfs2/file.c
Log:
* remove some stale prints / comments

Signed-off-by: jlbec



Modified: trunk/fs/ocfs2/aops.c
===================================================================
--- trunk/fs/ocfs2/aops.c	2005-06-24 01:46:21 UTC (rev 2423)
+++ trunk/fs/ocfs2/aops.c	2005-06-24 02:15:41 UTC (rev 2424)
@@ -318,10 +318,6 @@
  *
  * This function is called directly from get_more_blocks in direct-io.c.
  *
- * We should probably have this data in the oin for the inode.
- * Otherwise, we might want to look at ocfs2_rw_direct, 
- *  ocfs2_extent_map_get_blocks, and ocfs2_get_block
- *
  * called like this: dio->get_blocks(dio->inode, fs_startblk,
  * 					fs_count, map_bh, dio->rw == WRITE);
  */

Modified: trunk/fs/ocfs2/file.c
===================================================================
--- trunk/fs/ocfs2/file.c	2005-06-24 01:46:21 UTC (rev 2423)
+++ trunk/fs/ocfs2/file.c	2005-06-24 02:15:41 UTC (rev 2424)
@@ -260,8 +260,8 @@
 		   filp->f_dentry->d_name.name);
 
 	if (!inode) {
-		mlog(ML_ERROR, "Bad inode or inode has no oin\n");
 		ret = -EINVAL;
+		mlog_errno(ret);
 		goto bail;
 	}
 



More information about the Ocfs2-commits mailing list