]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/xfs/linux-2.6/xfs_iops.c
introduce I_SYNC
[net-next-2.6.git] / fs / xfs / linux-2.6 / xfs_iops.c
index 0b5fa124bef2a8d53b88af18169020df11f0a68c..e0e06dd4bef2325f84bef2011bf8e506bb460376 100644 (file)
@@ -133,7 +133,7 @@ xfs_ichgtime(
         */
        SYNCHRONIZE();
        ip->i_update_core = 1;
-       if (!(inode->i_state & I_LOCK))
+       if (!(inode->i_state & I_SYNC))
                mark_inode_dirty_sync(inode);
 }
 
@@ -185,7 +185,7 @@ xfs_ichgtime_fast(
         */
        SYNCHRONIZE();
        ip->i_update_core = 1;
-       if (!(inode->i_state & I_LOCK))
+       if (!(inode->i_state & I_SYNC))
                mark_inode_dirty_sync(inode);
 }