From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Wed, 12 Apr 2017 01:09:28 -0700 Subject: [Cluster-devel] [PATCH 04/25] fs: Provide infrastructure for dynamic BDIs in filesystems In-Reply-To: <20170329105623.18241-5-jack@suse.cz> References: <20170329105623.18241-1-jack@suse.cz> <20170329105623.18241-5-jack@suse.cz> Message-ID: <20170412080928.GD9830@infradead.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > + if (sb->s_iflags & SB_I_DYNBDI) { > + bdi_put(sb->s_bdi); > + sb->s_bdi = &noop_backing_dev_info; At some point I'd really like to get rid of noop_backing_dev_info and have a NULL here.. Otherwise this looks fine.. Reviewed-by: Christoph Hellwig