[Ocfs2-commits] mfasheh commits r1243 - trunk/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Tue Jul 6 23:41:30 CDT 2004
Author: mfasheh
Date: 2004-07-06 22:41:28 -0500 (Tue, 06 Jul 2004)
New Revision: 1243
Modified:
trunk/src/file.c
Log:
* remove some useless sets of a flag which i deleted a while ago but
have since been re-introduced.
Modified: trunk/src/file.c
===================================================================
--- trunk/src/file.c 2004-07-06 21:50:49 UTC (rev 1242)
+++ trunk/src/file.c 2004-07-07 03:41:28 UTC (rev 1243)
@@ -630,9 +630,6 @@
DISK_LOCK(fileEntry)->dl_seq_num = 0;
ocfs_fe_set_attributes(fileEntry, attr);
- /* Set the valid bit here */
- fileEntry->i_flags |= OCFS2_VALID_FL;
-
status = ocfs_journal_dirty(handle, bh);
if (status < 0) {
LOG_ERROR_STATUS (status);
@@ -1014,7 +1011,6 @@
}
DISK_LOCK(fe)->dl_seq_num = 0;
- fe->i_flags |= OCFS2_VALID_FL;
fe->i_mtime = OCFS_CURRENT_TIME;
status = ocfs_journal_dirty(handle, bh);
@@ -1314,8 +1310,7 @@
if (attr)
ocfs_fe_set_attributes(fe, attr);
- /* Set the Valid bit and reset the change bit here... TODO */
- fe->i_flags |= OCFS2_VALID_FL;
+
fe->i_mtime = OCFS_CURRENT_TIME;
tempOffset = fe->i_blkno << osb->sb->s_blocksize_bits;
More information about the Ocfs2-commits
mailing list