]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ext4 balloc: say rb_entry not list_entry
authorHugh Dickins <hugh@veritas.com>
Thu, 7 Dec 2006 04:39:21 +0000 (20:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:42 +0000 (08:39 -0800)
commit7c6dfcb49cea1fd8126e312944a71b1fd374297c
tree78fce2530b5054624ebcfdbf10fd10ad1b8466ed
parent402543456acf6dfee03606f0441d7c040790d5bd
[PATCH] ext4 balloc: say rb_entry not list_entry

The reservations tree is an rb_tree not a list, so it's less confusing to use
rb_entry() than list_entry() - though they're both just container_of().

Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext4/balloc.c