]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ore: FIX breakage when MISC_FILESYSTEMS is not set
authorBoaz Harrosh <bharrosh@panasas.com>
Tue, 29 Nov 2011 23:35:53 +0000 (15:35 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jan 2012 19:29:29 +0000 (11:29 -0800)
commit88e02818005ddaf5d584f58586c38f18168cecf3
tree8e7bfbe959d2a704d3856cc86836a88214a24990
parent673a3083dc48d45a798ee509995899e11625aa9d
ore: FIX breakage when MISC_FILESYSTEMS is not set

commit 831c2dc5f47c1dc79c32229d75065ada1dcc66e1 upstream.

As Reported by Randy Dunlap

When MISC_FILESYSTEMS is not enabled and NFS4.1 is:

fs/built-in.o: In function `objio_alloc_io_state':
objio_osd.c:(.text+0xcb525): undefined reference to `ore_get_rw_state'
fs/built-in.o: In function `_write_done':
objio_osd.c:(.text+0xcb58d): undefined reference to `ore_check_io'
fs/built-in.o: In function `_read_done':
...

When MISC_FILESYSTEMS, which is more of a GUI thing then anything else,
is not selected. exofs/Kconfig is never examined during Kconfig,
and it can not do it's magic stuff to automatically select everything
needed.

We must split exofs/Kconfig in two. The ore one is always included.
And the exofs one is left in it's old place in the menu.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/Kconfig
fs/exofs/Kconfig
fs/exofs/Kconfig.ore [new file with mode: 0644]