Skip to content
Commit 5eba8c5d authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: fix to access nullified flush_cmd_control pointer



f2fs_sync_file()             remount_ro
 - f2fs_readonly
                               - destroy_flush_cmd_control
 - f2fs_issue_flush
   - no fcc pointer!

So, this patch doesn't free fcc in this case, but just stop its kernel thread
which sends flush commands.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent a2125ff7
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