list_for_each_entry_del(pos, head, list) {
...
}
The patch also adds a list_for_each_del variant, even though I have
only found a single user for that one so far.
Signed-off-by: Joern Engel jo...@logfs.org
---
include/linux/list.h | 33
there yet. Or maybe I just messed up - patches are only
compile-tested after all. Comments/ideas are welcome.
Joern Engel (2):
list: add list_for_each_entry_del
btrfs: use list_for_each_entry_del
fs/btrfs/backref.c | 15 +++
fs/btrfs/compression.c |4 +---
fs/btrfs
Signed-off-by: Joern Engel jo...@logfs.org
---
fs/btrfs/backref.c | 15 +++
fs/btrfs/compression.c |4 +---
fs/btrfs/disk-io.c |6 +-
fs/btrfs/extent-tree.c | 17 +++--
fs/btrfs/extent_io.c|8 ++--
fs/btrfs/inode.c| 16