diff options
author | David Howells <dhowells@redhat.com> | 2007-05-03 03:11:29 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-05-03 03:11:29 -0700 |
commit | 80c72fe415698049a477314ac82790c1af0fa7e3 (patch) | |
tree | ae5fbc5ad3327d1c44cead49df8fb0e724baf56f /fs/afs/fsclient.c | |
parent | ef4533f8af7a8798cb8f52b06f47acf0c0d2d767 (diff) | |
download | linux-stable-80c72fe415698049a477314ac82790c1af0fa7e3.tar.gz linux-stable-80c72fe415698049a477314ac82790c1af0fa7e3.tar.bz2 linux-stable-80c72fe415698049a477314ac82790c1af0fa7e3.zip |
[AFS/AF_RXRPC]: Miscellaneous fixes.
Make miscellaneous fixes to AFS and AF_RXRPC:
(*) Make AF_RXRPC select KEYS rather than RXKAD or AFS_FS in Kconfig.
(*) Don't use FS_BINARY_MOUNTDATA.
(*) Remove a done 'TODO' item in a comemnt on afs_get_sb().
(*) Don't pass a void * as the page pointer argument of kmap_atomic() as this
breaks on m68k. Patch from Geert Uytterhoeven <geert@linux-m68k.org>.
(*) Use match_*() functions rather than doing my own parsing.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/afs/fsclient.c')
-rw-r--r-- | fs/afs/fsclient.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/afs/fsclient.c b/fs/afs/fsclient.c index 2393d2a08d79..e54e6c2ad343 100644 --- a/fs/afs/fsclient.c +++ b/fs/afs/fsclient.c @@ -266,7 +266,8 @@ static int afs_deliver_fs_fetch_data(struct afs_call *call, call->unmarshall++; if (call->count < PAGE_SIZE) { - buffer = kmap_atomic(call->reply3, KM_USER0); + page = call->reply3; + buffer = kmap_atomic(page, KM_USER0); memset(buffer + PAGE_SIZE - call->count, 0, call->count); kunmap_atomic(buffer, KM_USER0); |