]> asedeno.scripts.mit.edu Git - linux.git/commit
isofs: fix build regression
authorArnd Bergmann <arnd@arndb.de>
Sat, 16 Sep 2017 20:32:12 +0000 (22:32 +0200)
committerJan Kara <jack@suse.cz>
Mon, 18 Sep 2017 10:24:26 +0000 (12:24 +0200)
commit0ab0b271bf75073cb254b5ea0593aceae5a42bd3
tree11a9bddb2f558e0564a22ca768f2624fd91ebb39
parent0a51fb7174f2b7866b4d7a4a5c23b685b674beb6
isofs: fix build regression

The new isofs_show_options() function fails to build when CONFIG_NLS
is disabled:

fs/isofs/inode.c: In function 'isofs_show_options':
fs/isofs/inode.c:518:44: error: 'CONFIG_NLS_DEFAULT' undeclared (first use in this function)
fs/isofs/inode.c:518:44: note: each undeclared identifier is reported only once for each function it appears in

This adds a check for CONFIG_JOLIET (which selects NLS), matching
the other uses of the iocharset handling in this file.

Fixes: 6fecb86a44f5 ("isofs: Implement show_options")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/isofs/inode.c