[LU-8773] fiemap extent uses u64 type, not loff_t type Created: 28/Oct/16  Updated: 23/Feb/17  Resolved: 23/Feb/17

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

Type: Bug Priority: Minor
Reporter: Zhenyu Xu Assignee: Zhenyu Xu
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-6215 Sync Lustre external tree with lustre... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Reported by Dan Carpenter <dan.carpenter@oracle.com>

lov_object_fiemap() has following static checker warning:

drivers/staging/lustre/lustre/lov/lov_object.c:1241 lov_object_fiemap()
warn: signed overflow undefined. 'fm_start + fm_length < fm_start'



 Comments   
Comment by Gerrit Updater [ 28/Oct/16 ]

Bobi Jam (bobijam@hotmail.com) uploaded a new patch: http://review.whamcloud.com/23461
Subject: LU-8773 llite: refactor lov_object_fiemap()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: fa917c0fbe68cb4df945068281309738410d69fb

Comment by Gerrit Updater [ 23/Feb/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/23461/
Subject: LU-8773 llite: refactor lov_object_fiemap()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: f913720c7e09f9e829bbd6bea49e0f4cb9b4e6c5

Comment by Peter Jones [ 23/Feb/17 ]

Landed for 2.10

Generated at Sat Feb 10 02:20:25 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.