commit | c823bd9244337aef3699c546eb521c71fd60012e | [log] [tgz] |
---|---|---|
author | Michal Hocko <mhocko@suse.com> | Thu Jul 06 15:36:19 2017 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jul 06 16:24:30 2017 -0700 |
tree | 31cf0debefe18f88e2b8eb1855b978e2d8f20328 | |
parent | b74271e40e5de75c4316a68ebbb43150b509e708 [diff] |
fs/file.c: replace alloc_fdmem() with kvmalloc() alternative There is no real reason to duplicate kvmalloc* helpers so drop alloc_fdmem and replace it with the appropriate library function. Link: http://lkml.kernel.org/r/20170531155145.17111-2-mhocko@kernel.org Signed-off-by: Michal Hocko <mhocko@suse.com> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>