aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-04-21 13:15:57 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-04-21 13:15:57 +0100
commit52b5108ca7490c0609e4dbddd8439bc03d702c99 (patch)
tree410b7114047eb0b0f84f5b11b7981994d64a3904
parent[RBTREE] Change rbtree off-tree marking in I/O schedulers. (diff)
downloadlinux-dev-52b5108ca7490c0609e4dbddd8439bc03d702c99.tar.xz
linux-dev-52b5108ca7490c0609e4dbddd8439bc03d702c99.zip
[RBTREE] Update ext3 to use rb_parent() accessor macro.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-rw-r--r--fs/ext3/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext3/dir.c b/fs/ext3/dir.c
index f37528ed222e..fbb0d4ed07d4 100644
--- a/fs/ext3/dir.c
+++ b/fs/ext3/dir.c
@@ -284,7 +284,7 @@ static void free_rb_tree_fname(struct rb_root *root)
* beginning of the loop and try to free the parent
* node.
*/
- parent = n->rb_parent;
+ parent = rb_parent(n);
fname = rb_entry(n, struct fname, rb_hash);
while (fname) {
struct fname * old = fname;