Project

General

Profile

Bug #22476

rgw_file: struct rgw_file_handle incompatibility because of rgw_fh_type

Added by Tianshan Qu over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

in include/rados/rgw_file.h

before v10.2.8, v12.0.2

enum rgw_fh_type {
RGW_FS_TYPE_FILE = 0,
RGW_FS_TYPE_DIRECTORY,
};

since v10.2.8, v12.0.2

enum rgw_fh_type {
RGW_FS_TYPE_NIL = 0,
RGW_FS_TYPE_FILE,
RGW_FS_TYPE_DIRECTORY,
};

If data have been written in old versions, rgw_file and nfs-ganesha will fail after update.

Also available in: Atom PDF