Skip to content

Commit

Permalink
Staging: pohmelfs: kconfig/makefile and vfs changes.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Evgeniy Polyakov authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent c09ee9d commit 18bc0bb
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,7 @@ source "drivers/staging/android/Kconfig"

source "drivers/staging/dst/Kconfig"

source "drivers/staging/pohmelfs/Kconfig"

endif # !STAGING_EXCLUDE_BUILD
endif # STAGING
1 change: 1 addition & 0 deletions drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ obj-$(CONFIG_TRANZPORT) += frontier/
obj-$(CONFIG_EPL) += epl/
obj-$(CONFIG_ANDROID) += android/
obj-$(CONFIG_DST) += dst/
obj-$(CONFIG_POHMELFS) += pohmelfs/
23 changes: 23 additions & 0 deletions drivers/staging/pohmelfs/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
config POHMELFS
tristate "POHMELFS filesystem support"
select CONNECTOR
help
POHMELFS stands for Parallel Optimized Host Message Exchange Layered File System.
This is a network filesystem which supports coherent caching of data and metadata
on clients.

config POHMELFS_DEBUG
bool "POHMELFS debugging"
depends on POHMELFS
default n
help
Turns on excessive POHMELFS debugging facilities.
You usually do not want to slow things down noticebly and get really lots of kernel
messages in syslog.

config POHMELFS_CRYPTO
bool "POHMELFS crypto support"
depends on CONFIG_CRYPTO_BLKCIPHER && CONFIG_CRYPTO_HASH
help
This option allows to encrypt and/or protect with strong cryptographic hash all dataflow
between server and clients. Each config group can have own keys.
3 changes: 3 additions & 0 deletions drivers/staging/pohmelfs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
obj-$(CONFIG_POHMELFS) += pohmelfs.o

pohmelfs-y := inode.o config.o dir.o net.o path_entry.o trans.o crypto.o lock.o mcache.o
2 changes: 2 additions & 0 deletions mm/filemap.c
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@ int add_to_page_cache_lru(struct page *page, struct address_space *mapping,
}
return ret;
}
EXPORT_SYMBOL_GPL(add_to_page_cache_lru);

#ifdef CONFIG_NUMA
struct page *__page_cache_alloc(gfp_t gfp)
Expand Down Expand Up @@ -645,6 +646,7 @@ int __lock_page_killable(struct page *page)
return __wait_on_bit_lock(page_waitqueue(page), &wait,
sync_page_killable, TASK_KILLABLE);
}
EXPORT_SYMBOL_GPL(__lock_page_killable);

/**
* __lock_page_nosync - get a lock on the page, without calling sync_page()
Expand Down

0 comments on commit 18bc0bb

Please sign in to comment.