[Ocfs2-commits] mfasheh commits r2345 - trunk/fs/ocfs2
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Tue May 31 20:46:14 CDT 2005
Author: mfasheh
Signed-off-by: manish
Date: 2005-05-31 20:46:12 -0500 (Tue, 31 May 2005)
New Revision: 2345
Modified:
trunk/fs/ocfs2/inode.c
Log:
* remove some dead code.
* we definitely don't want to be setting i_dtime in mark_inode_dirty -
the only path which should set that is delete_inode
Signed-off-by: manish
Modified: trunk/fs/ocfs2/inode.c
===================================================================
--- trunk/fs/ocfs2/inode.c 2005-06-01 01:45:17 UTC (rev 2344)
+++ trunk/fs/ocfs2/inode.c 2005-06-01 01:46:12 UTC (rev 2345)
@@ -290,7 +290,6 @@
inode->i_op = &ocfs_fast_symlink_inode_operations;
else
inode->i_op = &ocfs_symlink_inode_operations;
- //inode->i_fop = &ocfs_fops;
i_size_write(inode, fe->i_size);
break;
default:
@@ -905,8 +904,6 @@
fe->i_ctime_nsec = cpu_to_le32(inode->i_ctime.tv_nsec);
fe->i_mtime = inode->i_mtime.tv_sec;
fe->i_mtime_nsec = cpu_to_le32(inode->i_mtime.tv_nsec);
- /* XXX: Do we want to update i_dtime here? */
- /* fe->i_dtime = inode->i_dtime.tv_sec; */
status = ocfs_journal_dirty(handle, bh);
if (status < 0)
More information about the Ocfs2-commits
mailing list