diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2020-09-21 15:58:39 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2020-09-21 15:59:26 +0000 |
| commit | a6901d4d148dcbad7efb3174afbdf68c995618c2 (patch) | |
| tree | 800c6f932d4cff0c52a12e9310ea2de9c9db4c97 /drivers/usb/cdns3/cdns3-imx.c | |
| parent | fs: Introduce i_blocks_per_page (diff) | |
| download | kernel-a6901d4d148dcbad7efb3174afbdf68c995618c2.tar.gz kernel-a6901d4d148dcbad7efb3174afbdf68c995618c2.zip | |
iomap: Use kzalloc to allocate iomap_page
We can skip most of the initialisation, although spinlocks still
need explicit initialisation as architectures may use a non-zero
value to indicate unlocked. The comment is no longer useful as
attach_page_private() handles the refcount now.
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
