Null pointer dereference in lustre_set_wire_obdo (LU-16634)

[LU-17489] fix 'lfs getname' ioctl breakage Created: 31/Jan/24  Updated: 31/Jan/24

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.16.0
Fix Version/s: Lustre 2.16.0

Type: Technical task Priority: Major
Reporter: Andreas Dilger Assignee: Andreas Dilger
Resolution: Unresolved Votes: 0
Labels: easy

Issue Links:
Related
is related to LU-13107 clean up lctl commands Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Fix ioctl() incompatibility introduced in LU-16634.

This was caused by the removal of the explicit ioctl(OBD_IOC_GETNAME_OLD) fallback in llapi_file_fget_lov_uuid() without replacing the existing ioctl(OBD_IOC_GETDTNAME) call with llapi_ioctl(OBD_IOC_GETDTNAME) that handles this compatibility mapping internally.



 Comments   
Comment by Gerrit Updater [ 31/Jan/24 ]

"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53867
Subject: LU-17489 utils: fix 'lfs getname' ioctl breakage
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 185822e6f8d82253c9103826114a5d9223a8903f

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