Skip to content
Commit 49952fa1 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: reduce redundant spin_lock operations



This patch reduces redundant spin_lock operations in alloc_nid_failed().
The alloc_nid_failed() does not need to delete entry and add one again
by triggering spin_lock and spin_unlock redundantly.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
parent 1571f84a
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