diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-12-16 01:46:54 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-16 16:20:06 +0100 |
commit | e3c96f53ac132743fda1384910feb863a2eab916 (patch) | |
tree | 48b97fdf50897d5ee97409db86bd4e4d7220be03 /fs/reiserfs/Makefile | |
parent | reiserfs: remove /proc/fs/reiserfs/version (diff) | |
download | linux-e3c96f53ac132743fda1384910feb863a2eab916.tar.xz linux-e3c96f53ac132743fda1384910feb863a2eab916.zip |
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>
Diffstat (limited to 'fs/reiserfs/Makefile')
-rw-r--r-- | fs/reiserfs/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/reiserfs/Makefile b/fs/reiserfs/Makefile index 6a9e30c041dd..792b3cb2cd18 100644 --- a/fs/reiserfs/Makefile +++ b/fs/reiserfs/Makefile @@ -7,7 +7,11 @@ obj-$(CONFIG_REISERFS_FS) += reiserfs.o reiserfs-objs := bitmap.o do_balan.o namei.o inode.o file.o dir.o fix_node.o \ super.o prints.o objectid.o lbalance.o ibalance.o stree.o \ hashes.o tail_conversion.o journal.o resize.o \ - item_ops.o ioctl.o procfs.o xattr.o lock.o + item_ops.o ioctl.o xattr.o lock.o + +ifeq ($(CONFIG_REISERFS_PROC_INFO),y) +reiserfs-objs += procfs.o +endif ifeq ($(CONFIG_REISERFS_FS_XATTR),y) reiserfs-objs += xattr_user.o xattr_trusted.o |