pmem, dax: have direct_access use __pmem annotation
Update the annotation for the kaddr pointer returned by direct_access() so that it is a __pmem pointer. This is consistent with the PMEM driver and with how this direct_access() pointer is used in the DAX code. Signed-off-by:Ross Zwisler <ross.zwisler@linux.intel.com> Reviewed-by:
Christoph Hellwig <hch@lst.de> Signed-off-by:
Dan Williams <dan.j.williams@intel.com>
Showing
- Documentation/filesystems/Locking 2 additions, 1 deletionDocumentation/filesystems/Locking
- arch/powerpc/sysdev/axonram.c 4 additions, 3 deletionsarch/powerpc/sysdev/axonram.c
- drivers/block/brd.c 2 additions, 2 deletionsdrivers/block/brd.c
- drivers/nvdimm/pmem.c 2 additions, 2 deletionsdrivers/nvdimm/pmem.c
- drivers/s390/block/dcssblk.c 6 additions, 4 deletionsdrivers/s390/block/dcssblk.c
- fs/block_dev.c 1 addition, 1 deletionfs/block_dev.c
- fs/dax.c 20 additions, 17 deletionsfs/dax.c
- include/linux/blkdev.h 4 additions, 4 deletionsinclude/linux/blkdev.h
Loading
Please register or sign in to comment