summaryrefslogtreecommitdiff
path: root/crypto/algapi.c
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2016-02-02 05:28:05 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2016-02-20 08:15:51 +0300
commit0bacbe528e26422e424d110ebda4ec68ea0fd5eb (patch)
tree2781e7f0e0448d30efd5e50fd7ea4a3c6d4f19dc /crypto/algapi.c
parent0e9a7da51b028aee7a72c95096c99fe5ea2a01f0 (diff)
downloadlinux-0bacbe528e26422e424d110ebda4ec68ea0fd5eb.tar.xz
affs_do_readpage_ofs(): just use kmap_atomic() around memcpy()
It forgets kunmap() on a failure exit, but there's really no point keeping the page kmapped at all - after all, what we are doing is a bunch of memcpy() into the parts of page, so kmap_atomic()/kunmap_atomic() just around those memcpy() is enough. Spotted-by: Insu Yun <wuninsu@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions