summaryrefslogtreecommitdiff
path: root/fs/btrfs/tree-defrag.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-10-16 00:18:56 +0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 19:03:56 +0400
commit0f82731fc56448c2733f58e1f5db6c2cbfc90652 (patch)
tree8c4d12a1c240db310becdff74e27d9aab36f1569 /fs/btrfs/tree-defrag.c
parent810191ff3087e8143b41a944fcf4fd8c693f00e3 (diff)
downloadlinux-0f82731fc56448c2733f58e1f5db6c2cbfc90652.tar.xz
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: