X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fext3%2Ffsync.c;h=49382a208e05e3fdd1bf62e8f9495a46a614e587;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=0b6a459290301e7c6c33b914f1ce6eecb86df610;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/fs/ext3/fsync.c b/fs/ext3/fsync.c index 0b6a45929..49382a208 100644 --- 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); - 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.