reiserfs: don't compile procfs.o at all if no support
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 16 Dec 2009 00:46:54 +0000 (16:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2009 15:20:06 +0000 (07:20 -0800)
commite3c96f53ac132743fda1384910feb863a2eab916
tree48b97fdf50897d5ee97409db86bd4e4d7220be03
parent904e812931f001b984912b2d2f653ea69520313c
reiserfs: don't compile procfs.o at all if no support

* small define cleanup in header
* fix #ifdeffery in procfs.c via Kconfig

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/Makefile
fs/reiserfs/procfs.c
include/linux/reiserfs_fs.h