Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: pohmelfs: kconfig/makefile and vfs changes.

This patch adds Kconfig and Makefile entries and exports to
VFS functions to be used by POHMELFS.

Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Evgeniy Polyakov and committed by
Greg Kroah-Hartman
18bc0bbd c09ee9d2

+31
+2
drivers/staging/Kconfig
··· 95 95 96 96 source "drivers/staging/dst/Kconfig" 97 97 98 + source "drivers/staging/pohmelfs/Kconfig" 99 + 98 100 endif # !STAGING_EXCLUDE_BUILD 99 101 endif # STAGING
+1
drivers/staging/Makefile
··· 30 30 obj-$(CONFIG_EPL) += epl/ 31 31 obj-$(CONFIG_ANDROID) += android/ 32 32 obj-$(CONFIG_DST) += dst/ 33 + obj-$(CONFIG_POHMELFS) += pohmelfs/
+23
drivers/staging/pohmelfs/Kconfig
··· 1 + config POHMELFS 2 + tristate "POHMELFS filesystem support" 3 + select CONNECTOR 4 + help 5 + POHMELFS stands for Parallel Optimized Host Message Exchange Layered File System. 6 + This is a network filesystem which supports coherent caching of data and metadata 7 + on clients. 8 + 9 + config POHMELFS_DEBUG 10 + bool "POHMELFS debugging" 11 + depends on POHMELFS 12 + default n 13 + help 14 + Turns on excessive POHMELFS debugging facilities. 15 + You usually do not want to slow things down noticebly and get really lots of kernel 16 + messages in syslog. 17 + 18 + config POHMELFS_CRYPTO 19 + bool "POHMELFS crypto support" 20 + depends on CONFIG_CRYPTO_BLKCIPHER && CONFIG_CRYPTO_HASH 21 + help 22 + This option allows to encrypt and/or protect with strong cryptographic hash all dataflow 23 + between server and clients. Each config group can have own keys.
+3
drivers/staging/pohmelfs/Makefile
··· 1 + obj-$(CONFIG_POHMELFS) += pohmelfs.o 2 + 3 + pohmelfs-y := inode.o config.o dir.o net.o path_entry.o trans.o crypto.o lock.o mcache.o
+2
mm/filemap.c
··· 513 513 } 514 514 return ret; 515 515 } 516 + EXPORT_SYMBOL_GPL(add_to_page_cache_lru); 516 517 517 518 #ifdef CONFIG_NUMA 518 519 struct page *__page_cache_alloc(gfp_t gfp) ··· 646 645 return __wait_on_bit_lock(page_waitqueue(page), &wait, 647 646 sync_page_killable, TASK_KILLABLE); 648 647 } 648 + EXPORT_SYMBOL_GPL(__lock_page_killable); 649 649 650 650 /** 651 651 * __lock_page_nosync - get a lock on the page, without calling sync_page()