diff options
author | Jan Kara <jack@suse.cz> | 2017-02-02 18:34:11 +0100 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2017-02-03 20:38:35 +0100 |
commit | 70823b9bf3290855a7df895d89bd8209182b52e3 (patch) | |
tree | 2bce493f38f66e9dd802bd0527d99e7fb3fc282c /fs/orangefs/orangefs-mod.c | |
parent | orangefs: Support readahead_readcnt parameter. (diff) | |
download | linux-70823b9bf3290855a7df895d89bd8209182b52e3.tar.xz linux-70823b9bf3290855a7df895d89bd8209182b52e3.zip |
orangefs: Remove orangefs_backing_dev_info
It is not used anywhere.
CC: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-mod.c')
-rw-r--r-- | fs/orangefs/orangefs-mod.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/fs/orangefs/orangefs-mod.c b/fs/orangefs/orangefs-mod.c index 4113eb0495bf..c1b5174cb5a9 100644 --- a/fs/orangefs/orangefs-mod.c +++ b/fs/orangefs/orangefs-mod.c @@ -80,11 +80,6 @@ static int __init orangefs_init(void) int ret = -1; __u32 i = 0; - ret = bdi_init(&orangefs_backing_dev_info); - - if (ret) - return ret; - if (op_timeout_secs < 0) op_timeout_secs = 0; @@ -94,7 +89,7 @@ static int __init orangefs_init(void) /* initialize global book keeping data structures */ ret = op_cache_initialize(); if (ret < 0) - goto err; + goto out; ret = orangefs_inode_cache_initialize(); if (ret < 0) @@ -181,9 +176,6 @@ cleanup_inode: cleanup_op: op_cache_finalize(); -err: - bdi_destroy(&orangefs_backing_dev_info); - out: return ret; } @@ -207,8 +199,6 @@ static void __exit orangefs_exit(void) kfree(orangefs_htable_ops_in_progress); - bdi_destroy(&orangefs_backing_dev_info); - pr_info("orangefs: module version %s unloaded\n", ORANGEFS_VERSION); } |