summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-10-15 16:18:56 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:56 -0400
commit0f82731fc56448c2733f58e1f5db6c2cbfc90652 (patch)
tree8c4d12a1c240db310becdff74e27d9aab36f1569 /fs/btrfs/extent-tree.c
parent810191ff3087e8143b41a944fcf4fd8c693f00e3 (diff)
downloadlwn-0f82731fc56448c2733f58e1f5db6c2cbfc90652.tar.gz
lwn-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/extent-tree.c')
-rw-r--r--fs/btrfs/extent-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 525fa845d613..e4e68ea96483 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -1443,7 +1443,7 @@ int btrfs_drop_snapshot(struct btrfs_trans_handle *trans, struct btrfs_root
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: