Project

General

Profile

Actions

Bug #41871

closed

client: return error when someone passes bad whence value to llseek

Added by Jeff Layton over 4 years ago. Updated about 4 years ago.

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

0%

Source:
Development
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 (v1):
Crash signature (v2):

Description

There are a number of ceph_assert calls in src/client/Client.cc that are probably not necessary. There are calls in lseek and the file locking code in particular but there may be others. Do a cleanup pass through there and just have it return error instead of ceph_assert'ing when we can.


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #42145: nautilus: client: return error when someone passes bad whence value to llseekResolvedNathan CutlerActions
Copied to CephFS - Backport #42146: mimic: client: return error when someone passes bad whence value to llseekResolvedNathan CutlerActions
Actions

Also available in: Atom PDF