git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cgroup: switch to proc_create()
[safe/jmp/linux-2.6]
/
fs
/
sync.c
diff --git
a/fs/sync.c
b/fs/sync.c
index
7cd005e
..
228e17b
100644
(file)
--- a/
fs/sync.c
+++ b/
fs/sync.c
@@
-64,7
+64,7
@@
int file_fsync(struct file *filp, struct dentry *dentry, int datasync)
/* sync the superblock to buffers */
sb = inode->i_sb;
lock_super(sb);
- if (sb->s_op->write_super)
+ if (sb->s_
dirt && sb->s_
op->write_super)
sb->s_op->write_super(sb);
unlock_super(sb);