mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Removing old code for k(un)map_atomic
It used to be required to pass a enum km_type to kmap_atomic() and kunmap_atomic(), however this is no longer necessary and the wrappers zfs_k(un)map_atomic removed these. This is confusing in the ABD code as the struct abd_iter member iter_km no longer exists and the wrapper macros simply compile them out. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Adam Moss <c@yotes.com> Signed-off-by: Brian Atkinson <batkinson@lanl.gov> Closes #11768
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
#include <linux/uaccess.h>
|
||||
|
||||
/* 2.6.37 API change */
|
||||
#define zfs_kmap_atomic(page, km_type) kmap_atomic(page)
|
||||
#define zfs_kunmap_atomic(addr, km_type) kunmap_atomic(addr)
|
||||
#define zfs_kmap_atomic(page) kmap_atomic(page)
|
||||
#define zfs_kunmap_atomic(addr) kunmap_atomic(addr)
|
||||
|
||||
/* 5.0 API change - no more 'type' argument for access_ok() */
|
||||
#ifdef HAVE_ACCESS_OK_TYPE
|
||||
|
||||
Reference in New Issue
Block a user