exofs: confusion between kmap() and kmap_atomic() api
commit423ad7df30f57b0cb4bdad5d1504e2cdc1c4d8a3
authorDan Carpenter <error27@gmail.com>
Fri, 7 May 2010 09:05:33 +0000 (7 11:05 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:10:47 +0000 (5 11:10 -0700)
treeef2699710c695e0bcc83c91e503a4a2e9246c5cf
parent310f7a3525eae4ef4c760a9d458d028775a49645
exofs: confusion between kmap() and kmap_atomic() api

commit ddf08f4b90a413892bbb9bb2e8a57aed991cd47d upstream.

For kmap_atomic() we call kunmap_atomic() on the returned pointer.
That's different from kmap() and kunmap() and so it's easy to get them
backwards.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/exofs/dir.c