]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ceph: handle InodeStat v8 versioned field in reply parsing
authorAlex Markuze <amarkuze@redhat.com>
Tue, 10 Feb 2026 09:06:24 +0000 (09:06 +0000)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 21 Apr 2026 23:40:23 +0000 (01:40 +0200)
commite58103cafff2e3ee2196d6d3347fc47d6e0a047a
treee39b67ca19573a99cf3536eeee67d896b1db883b
parent1c439de70b1c3eb3c6bffa8245c16b9fc318f114
ceph: handle InodeStat v8 versioned field in reply parsing

Add forward-compatible handling for the new versioned field introduced
in InodeStat v8. This patch only skips the field without using it,
preparing for future protocol extensions.

The v8 encoding adds a versioned sub-structure that needs to be properly
decoded and skipped to maintain compatibility with newer MDS versions.

Signed-off-by: Alex Markuze <amarkuze@redhat.com>
Reviewed-by: Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c