git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
fs
/
ext3
/
fsync.c
diff --git
a/fs/ext3/fsync.c
b/fs/ext3/fsync.c
index
0b6a459
..
49382a2
100644
(file)
--- a/
fs/ext3/fsync.c
+++ b/
fs/ext3/fsync.c
@@
-49,10
+49,6
@@
int ext3_sync_file(struct file * file, struct dentry *dentry, int datasync)
J_ASSERT(ext3_journal_current_handle() == 0);
J_ASSERT(ext3_journal_current_handle() == 0);
- smp_mb(); /* prepare for lockless i_state read */
- if (!(inode->i_state & I_DIRTY))
- goto out;
-
/*
* data=writeback:
* The caller's filemap_fdatawrite()/wait will sync the data.
/*
* data=writeback:
* The caller's filemap_fdatawrite()/wait will sync the data.