summaryrefslogtreecommitdiffstats
path: root/firmware/3com
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-04-11 11:51:51 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2016-04-15 08:49:47 -0700
commitde5307e46d28aa26ffd6f2048398b6303e134a67 (patch)
treed3dfb485cb2ea31b917d99c3d08c23f19058d2aa /firmware/3com
parentff37355886ac2082cee594aa949c08e2cfb33aa0 (diff)
downloadblackbird-obmc-linux-de5307e46d28aa26ffd6f2048398b6303e134a67.tar.gz
blackbird-obmc-linux-de5307e46d28aa26ffd6f2048398b6303e134a67.zip
f2fs: fix dropping inmemory pages in a wrong time
When one reader closes its file while the other writer is doing atomic writes, f2fs_release_file drops atomic data resulting in an empty commit. This patch fixes this wrong commit problem by checking openess of the file. Process0 Process1 open file start atomic write write data read data close file f2fs_release_file() clear atomic data commit atomic write Reported-by: Miao Xie <miaoxie@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'firmware/3com')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud