diff options
| author | OGAWA Hirofumi <[email protected]> | 2008-04-29 00:59:42 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-04-29 08:06:06 -0700 |
| commit | 762873c251b056c6c1b29e83a4dabafb064e5421 (patch) | |
| tree | 0b1f4f7c2e7ea46cf536fbdf227cb7734bc78b07 /tools/perf/scripts/python | |
| parent | 8f0cfa52a1d4ffacd8e7de906d19662f5da58d58 (diff) | |
vfs: fix unconditional write_super() call in file_fsync()
We need to check ->s_dirt before calling write_super(). It became the cause
of an unneeded write.
This bug was noticed by Sudhanshu Saxena.
Signed-off-by: OGAWA Hirofumi <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions