1
0
Fork 0
alistair23-linux/fs/affs
Al Viro 0bacbe528e 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>
2016-02-20 00:15:51 -05:00
..
Changes remove obsolete references to powertweak 2013-11-27 20:34:32 -08:00
Kconfig fs/affs: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:39:04 -08:00
Makefile fs: change to new flag variable 2011-03-17 14:02:57 +01:00
affs.h fs:affs:Replace time_t with time64_t 2016-01-09 02:59:19 -05:00
amigaffs.c fs:affs:Replace time_t with time64_t 2016-01-09 02:59:19 -05:00
bitmap.c fs/affs/bitmap.c: remove unnecessary return 2015-02-17 14:34:52 -08:00
dir.c fs/affs: define AFFSNAMEMAX to replace constant use 2015-02-17 14:34:52 -08:00
file.c affs_do_readpage_ofs(): just use kmap_atomic() around memcpy() 2016-02-20 00:15:51 -05:00
inode.c don't put symlink bodies in pagecache into highmem 2015-12-08 22:41:36 -05:00
namei.c don't put symlink bodies in pagecache into highmem 2015-12-08 22:41:36 -05:00
super.c kmemcg: account certain kmem allocations to memcg 2016-01-14 16:00:49 -08:00
symlink.c switch ->get_link() to delayed_call, kill ->put_link() 2015-12-30 13:01:03 -05:00