diff options
author | Christoph Hellwig <hch@lst.de> | 2015-01-14 10:42:39 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-01-20 14:03:09 -0700 |
commit | 7b14a213890a81473ec97ad7e322d5c2f19854ae (patch) | |
tree | 9115cee236cd2fb9ff3e471364ebe0d136260a38 /fs/nfs/internal.h | |
parent | e4d2750909aa26129bd0bf1b0dc832e0845aae90 (diff) | |
download | blackbird-op-linux-7b14a213890a81473ec97ad7e322d5c2f19854ae.tar.gz blackbird-op-linux-7b14a213890a81473ec97ad7e322d5c2f19854ae.zip |
nfs: don't call bdi_unregister
bdi_destroy already does all the work, and if we delay freeing the
anon bdev we can get away with just that single call.
Addintionally remove the call during mount failure, as
deactivate_super_locked will already call ->kill_sb and clean up
the bdi for us.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index efaa31c70fbe..f519d4187332 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h @@ -416,7 +416,6 @@ int nfs_show_options(struct seq_file *, struct dentry *); int nfs_show_devname(struct seq_file *, struct dentry *); int nfs_show_path(struct seq_file *, struct dentry *); int nfs_show_stats(struct seq_file *, struct dentry *); -void nfs_put_super(struct super_block *); int nfs_remount(struct super_block *sb, int *flags, char *raw_data); /* write.c */ |