diff options
author | David Sterba <dsterba@suse.cz> | 2011-05-05 13:13:16 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2011-05-06 12:34:10 +0200 |
commit | 182608c8294b5fe90d7bbd4b026c82bf0a24b736 (patch) | |
tree | 5705e84960e66caa84ac059a3528a31493e35d16 /fs/btrfs/disk-io.c | |
parent | f2a97a9dbd86eb1ef956bdf20e05c507b32beb96 (diff) | |
download | kernel_samsung_espresso10-182608c8294b5fe90d7bbd4b026c82bf0a24b736.zip kernel_samsung_espresso10-182608c8294b5fe90d7bbd4b026c82bf0a24b736.tar.gz kernel_samsung_espresso10-182608c8294b5fe90d7bbd4b026c82bf0a24b736.tar.bz2 |
btrfs: remove old unused commented out code
Remove code which has been #if0-ed out for a very long time and does not
seem to be related to current codebase anymore.
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index fa287c5..de7b477 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -1348,35 +1348,6 @@ fail: return ERR_PTR(ret); } -#if 0 - struct btrfs_root *root; - int ret; - - root = btrfs_read_fs_root_no_name(fs_info, location); - if (!root) - return NULL; - - if (root->in_sysfs) - return root; - - ret = btrfs_set_root_name(root, name, namelen); - if (ret) { - free_extent_buffer(root->node); - kfree(root); - return ERR_PTR(ret); - } - - ret = btrfs_sysfs_add_root(root); - if (ret) { - free_extent_buffer(root->node); - kfree(root->name); - kfree(root); - return ERR_PTR(ret); - } - root->in_sysfs = 1; - return root; -#endif - static int btrfs_congested_fn(void *congested_data, int bdi_bits) { struct btrfs_fs_info *info = (struct btrfs_fs_info *)congested_data; |