Whamcloud - gitweb
LU-17027 target: include linux/file.h 43/51943/2
authorXinliang Liu <xinliang.liu@linaro.org>
Tue, 15 Aug 2023 07:58:14 +0000 (07:58 +0000)
committerOleg Drokin <green@whamcloud.com>
Thu, 24 Aug 2023 04:36:35 +0000 (04:36 +0000)
commit2031b2608d1b195e079d11411bb4747a10b340e1
treeeb93410ecbe5846b7f86940ad8b31606ed4f7f5a
parentee4f470d590dd19d9c7d188958d9305ccd666e5e
LU-17027 target: include linux/file.h

In some 4.x kernels like 4.19 we need to include linux/file.h to
have alloc_file_pseudo() defined.

Change-Id: Ieee8d5ac5b080bd3b5c761f54a5ca2f9581ecfe1
Test-Parameters: trivial
Fixes: ac0380dc519a ("LU-137 osd-ldiskfs: pass through resize ioctl")
Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51943
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/target/tgt_mount.c