• Jaegeuk Kim's avatar
    f2fs: unset atomic/volatile flag in f2fs_release_file · 26dc3d44
    Jaegeuk Kim authored
    The atomic/volatile operation should be done in pair of start and commit
    For example, if a killed process remains open-ended atomic operation, we should
    drop its flag as well as its atomic data. Otherwise, if sqlite initiates another
    operation which doesn't require atomic writes, it will lose every data, since
    f2fs still treats with them as atomic writes; nobody will trigger its commit.
    Reported-by: default avatarMiao Xie <miaoxie@huawei.com>
    Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
file.c 44.7 KB