CacheFiles: Downgrade the requirements passed to the allocator
authorDavid Howells <dhowells@redhat.com>
Thu, 20 Dec 2012 21:52:33 +0000 (21:52 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 20 Dec 2012 21:58:25 +0000 (21:58 +0000)
commit5f4f9f4af185d5e76c966d2d3420a61870c856e7
treeb2f41124474891a58ec77cbbdb6adccb704073d6
parentc4d6d8dbf335c7fa47341654a37c53a512b519bb
CacheFiles: Downgrade the requirements passed to the allocator

Downgrade the requirements passed to the allocator in the gfp flags parameter.
FS-Cache/CacheFiles can handle OOM conditions simply by aborting the attempt to
store an object or a page in the cache.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/cachefiles/interface.c
fs/cachefiles/internal.h
fs/cachefiles/key.c
fs/cachefiles/rdwr.c
fs/cachefiles/xattr.c
fs/fscache/page.c