aboutsummaryrefslogtreecommitdiff
path: root/include/linux/dmaengine.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-04-11 11:51:51 -0700
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:33:18 +0200
commitfde8f351fc1cfc4e2b3d88083d1de5851a86bdf0 (patch)
tree0b52f26b1f1995cea440e2065f03e47c91d63e96 /include/linux/dmaengine.h
parentb7f097e5b6cd77d3145c95493f7d8057c22e82dd (diff)
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 'include/linux/dmaengine.h')
0 files changed, 0 insertions, 0 deletions