diff options
author | Ira Weiny <ira.weiny@intel.com> | 2020-07-17 00:20:49 -0700 |
---|---|---|
committer | Vishal Verma <vishal.l.verma@intel.com> | 2020-07-28 11:49:29 -0600 |
commit | c7fe193f1877e80e905a39e494ff53bd20c97970 (patch) | |
tree | b33fd4caad42ff9a2beaf9f7ce3c44945f510833 /mm/msync.c | |
parent | 231609785cbfb341e7d6d24a74d6ab8cc518835f (diff) | |
download | linux-stable-c7fe193f1877e80e905a39e494ff53bd20c97970.tar.gz linux-stable-c7fe193f1877e80e905a39e494ff53bd20c97970.tar.bz2 linux-stable-c7fe193f1877e80e905a39e494ff53bd20c97970.zip |
fs/dax: Remove unused size parameter
Passing size to copy_user_dax implies it can copy variable sizes of data
when in fact it calls copy_user_page() which is exactly a page.
We are safe because the only caller uses PAGE_SIZE anyway so just remove
the variable for clarity.
While we are at it change copy_user_dax() to copy_cow_page_dax() to make
it clear it is a singleton helper for this one case not implementing
what dax_iomap_actor() does.
Link: https://lore.kernel.org/r/20200717072056.73134-11-ira.weiny@intel.com
Reviewed-by: Ben Widawsky <ben.widawsky@intel.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Diffstat (limited to 'mm/msync.c')
0 files changed, 0 insertions, 0 deletions