ublk: fix 'warn: variable dereferenced before check 'req'' from Smatch
[linux-block.git] / fs / Makefile
index e513aaee0603a043bc1b0adc68c26b2f65706ea5..f9541f40be4e08fbdee72f39e8c0c7ef856fb3f6 100644 (file)
@@ -17,7 +17,7 @@ obj-y :=      open.o read_write.o file_table.o super.o \
                fs_types.o fs_context.o fs_parser.o fsopen.o init.o \
                kernel_read_file.o mnt_idmapping.o remap_range.o
 
-obj-$(CONFIG_BLOCK)            += buffer.o mpage.o
+obj-$(CONFIG_BUFFER_HEAD)      += buffer.o mpage.o
 obj-$(CONFIG_PROC_FS)          += proc_namespace.o
 obj-$(CONFIG_LEGACY_DIRECT_IO) += direct-io.o
 obj-y                          += notify/