Whamcloud - gitweb
LU-15396 osd: include linux/file.h 23/45923/2
authorAlex Zhuravlev <bzzz@whamcloud.com>
Thu, 23 Dec 2021 08:10:21 +0000 (11:10 +0300)
committerOleg Drokin <green@whamcloud.com>
Tue, 11 Jan 2022 06:19:35 +0000 (06:19 +0000)
commita945a7cfe98df369933c8e8dfc50ba214296e150
treecdb4ce5769292e1ae78805c75ecef27ca42a2e31
parent1bb9853e28eb08586e9df9425b69c591a6e6fe17
LU-15396 osd: include linux/file.h

in some 4.x kernels we need to include linux/file.h to have
alloc_file() defined.

Fixes: b0f150eba4 ("LU-13783 osd-ldiskfs: use alloc_file_pseudo to create fake files")
Test-Parameters: trivial
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I279945f70578030bf581fa2afc0ca7b4dfa83653
Reviewed-on: https://review.whamcloud.com/45923
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Yingjin Qian <qian@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_internal.h