Commit de6a8ec9 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: drop the volatile_write flag only

When aborting volatile_writes, let's drop its flag and give up any further
Signed-off-by: default avatarJaegeuk Kim <>
parent c5bda1c8
......@@ -1391,11 +1391,9 @@ static int f2fs_ioc_abort_volatile_write(struct file *filp)
clear_inode_flag(F2FS_I(inode), FI_ATOMIC_FILE);
if (f2fs_is_volatile_file(inode)) {
if (f2fs_is_volatile_file(inode))
clear_inode_flag(F2FS_I(inode), FI_VOLATILE_FILE);
set_inode_flag(F2FS_I(inode), FI_VOLATILE_FILE);
return ret;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment