[LU-15396] missing <linux/file.h> in osd-ldiskfs Created: 23/Dec/21  Updated: 15/Aug/23  Resolved: 11/Jan/22

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Upstream
Fix Version/s: Lustre 2.15.0

Type: Bug Priority: Trivial
Reporter: Alex Zhuravlev Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-17027 missing #include <linux/file.h> in lu... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

LU-13783 introduced using alloc_file in osd-ldiskfs, but the function is declared in linux/file.h which is not included



 Comments   
Comment by Gerrit Updater [ 23/Dec/21 ]

"Alex Zhuravlev <bzzz@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45923
Subject: LU-15396 osd: include linux/file.h
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 44e15e1fe3ffd2b9c8b9414d935b0d79f32b2c15

Comment by Gerrit Updater [ 11/Jan/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45923/
Subject: LU-15396 osd: include linux/file.h
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a945a7cfe98df369933c8e8dfc50ba214296e150

Comment by Peter Jones [ 11/Jan/22 ]

Landed for 2.15

Generated at Sat Feb 10 03:17:57 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.