summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-defrag.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-10-15 22:18:56 +0200
committerChris Mason <chris.mason@oracle.com>2008-09-25 17:03:56 +0200
commit0f82731fc56448c2733f58e1f5db6c2cbfc90652 (patch)
tree8c4d12a1c240db310becdff74e27d9aab36f1569 /fs/btrfs/tree-defrag.c
parentBtrfs: extent_map optimizations to cut down on CPU usage (diff)
downloadlinux-0f82731fc56448c2733f58e1f5db6c2cbfc90652.tar.xz
linux-0f82731fc56448c2733f58e1f5db6c2cbfc90652.zip
Breakout BTRFS_SETGET_FUNCS into a separate C file, the inlines were too big.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/tree-defrag.c')
-rw-r--r--fs/btrfs/tree-defrag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/tree-defrag.c b/fs/btrfs/tree-defrag.c
index d23216aa4ab5..0d1a1be0995c 100644
--- a/fs/btrfs/tree-defrag.c
+++ b/fs/btrfs/tree-defrag.c
@@ -239,7 +239,7 @@ int btrfs_defrag_leaves(struct btrfs_trans_handle *trans,
for (i = 0; i <= orig_level; i++) {
if (path->nodes[i]) {
free_extent_buffer(path->nodes[i]);
- path->nodes[i] = 0;
+ path->nodes[i] = NULL;
}
}
out: