Skip to content
Snippets Groups Projects
Commit 2c35dea2 authored by Geliang Tang's avatar Geliang Tang Committed by Linus Torvalds
Browse files

fs/hfs/catalog.c: use list_for_each_entry in hfs_cat_delete


Use list_for_each_entry() instead of list_for_each() to simplify the code.

Signed-off-by: default avatarGeliang Tang <geliangtang@163.com>
Reviewed-by: default avatarVyacheslav Dubeyko <slava@dubeyko.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f057f3b2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment