diff options
author | Thomas Hellstrom (VMware) <thomas_os@shipmail.org> | 2020-03-24 20:46:48 +0300 |
---|---|---|
committer | Thomas Hellstrom (VMware) <thomas_os@shipmail.org> | 2020-03-24 20:46:48 +0300 |
commit | f05a3849f6449f67843113778bf56e02f2b4ddf8 (patch) | |
tree | 042f089ca336de00e54640901b8f467d0eaff528 /include/linux/mm.h | |
parent | cb7adfd6ad12a11902ebe374bec7fd4efa2cec1c (diff) | |
download | linux-f05a3849f6449f67843113778bf56e02f2b4ddf8.tar.xz |
fs: Constify vma argument to vma_is_dax
The function is used by upcoming vma_is_special_huge() with which we want
to use a const vma argument. Since for vma_is_dax() the vma argument is
only dereferenced for reading, constify it.
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Cc: "Jérôme Glisse" <jglisse@redhat.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Thomas Hellstrom (VMware) <thomas_os@shipmail.org>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Acked-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'include/linux/mm.h')
0 files changed, 0 insertions, 0 deletions