diff options
author | Jan Kara <jack@suse.cz> | 2017-04-12 12:24:41 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-20 12:09:55 -0600 |
commit | 7fbbe972c3ec63a3391997e0cef09964f9236088 (patch) | |
tree | b8fb8cfc193a1f11b78a22c6e5d8c7fa9ba2d4f2 /fs/fuse/inode.c | |
parent | 5f7f7543f52eee03ed35c9d671fbb1cdbd4bc9b5 (diff) | |
download | linux-stable-7fbbe972c3ec63a3391997e0cef09964f9236088.tar.gz linux-stable-7fbbe972c3ec63a3391997e0cef09964f9236088.tar.bz2 linux-stable-7fbbe972c3ec63a3391997e0cef09964f9236088.zip |
fuse: Get rid of bdi_initialized
It is not needed anymore since bdi is initialized whenever superblock
exists.
CC: Miklos Szeredi <miklos@szeredi.hu>
CC: linux-fsdevel@vger.kernel.org
Suggested-by: Miklos Szeredi <mszeredi@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/fuse/inode.c')
-rw-r--r-- | fs/fuse/inode.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index 90bacbc87fb3..73cf05135252 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c @@ -983,8 +983,6 @@ static int fuse_bdi_init(struct fuse_conn *fc, struct super_block *sb) /* fuse does it's own writeback accounting */ sb->s_bdi->capabilities = BDI_CAP_NO_ACCT_WB | BDI_CAP_STRICTLIMIT; - fc->bdi_initialized = 1; - /* * For a single fuse filesystem use max 1% of dirty + * writeback threshold. |