diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-01-09 20:02:37 +0100 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-01-18 13:04:57 +0100 |
commit | dedb0d48a9d4d57086526b94a4b64da789a646e4 (patch) | |
tree | 4771fbc7593b606bc9e88941590a7b4f0b480d82 /include/media/ir-kbd-i2c.h | |
parent | Linux 2.6.29-rc2 (diff) | |
download | linux-dedb0d48a9d4d57086526b94a4b64da789a646e4.tar.xz linux-dedb0d48a9d4d57086526b94a4b64da789a646e4.zip |
UBIFS: do not commit twice
VFS calls '->sync_fs()' twice - first time with @wait = 0, second
time with @wait = 1. As a result, we may commit and synchronize
write-buffers twice. Avoid doing this by returning immediatelly if
@wait = 0.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'include/media/ir-kbd-i2c.h')
0 files changed, 0 insertions, 0 deletions