summaryrefslogtreecommitdiff
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-08-04 07:14:47 (GMT)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-08-30 07:19:06 (GMT)
commit5ffef88ffeb730e1bf2da56a39a55e03d57a66c9 (patch)
treea524f5806930d593d1f38f29f6a3e28948f8e851 /include/linux/libata.h
parent2bfc96a127bc1cc94d26bfaa40159966064f9c8c (diff)
downloadlinux-fsl-qoriq-5ffef88ffeb730e1bf2da56a39a55e03d57a66c9.tar.xz
UBIFS: switch to RO mode after synchronizing
In 'ubifs_garbage_collect()' on error path, we first switch to R/O mode, and then synchronize write-buffers (to make sure no data are lost). But the GC write-buffer synchronization will fail, because we are already in R/O mode. This patch re-orders this and makes sure we first synchronize the write-buffer, and then switch to R/O mode. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'include/linux/libata.h')
0 files changed, 0 insertions, 0 deletions