Project

General

Profile

Bug #41837

client: lseek function does not return the correct value.

Added by wenpeng li 10 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
nautilus,mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
Pull request ID:
Crash signature:

Description

If pos is initialized to -1 in the lseek function, then when offset is 0, EINVAL may be returned.

EOVR6WF0C(CIME{[FWUFM67.png View (26.4 KB) wenpeng li, 09/16/2019 02:40 AM


Related issues

Copied to fs - Backport #42034: mimic: client: lseek function does not return the correct value. Resolved
Copied to fs - Backport #42035: nautilus: client: lseek function does not return the correct value. Resolved

History

#1 Updated by Patrick Donnelly 10 months ago

  • Status changed from New to Fix Under Review
  • Assignee set to wenpeng li
  • Target version set to v15.0.0
  • Start date deleted (09/16/2019)
  • Source set to Community (dev)
  • Backport set to nautilus,mimic
  • Pull request ID set to 30312

#2 Updated by Patrick Donnelly 10 months ago

  • Subject changed from client:The lseek function does not return the correct value. to client: lseek function does not return the correct value.
  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Nathan Cutler 10 months ago

  • Copied to Backport #42034: mimic: client: lseek function does not return the correct value. added

#4 Updated by Nathan Cutler 10 months ago

  • Copied to Backport #42035: nautilus: client: lseek function does not return the correct value. added

#5 Updated by Nathan Cutler 6 months ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF