ceph: fix the incorrect comment for the ceph_mds_caps struct
PATCH v2 1/1 ceph: fix the incorrect comment for the ceph_mds_caps struct
The incorrect comment is misleading. Acutally the last members in ceph_mds_caps strcut is a union for none export and export bodies.
Signed-off-by Xiubo Li <[email protected]>
--- include/linux/ceph/ceph_fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/ceph/ceph_fs.h +1 -1
@@ -768,7 +768,7 @@ struct ceph_mds_caps {__le32 xattr_len;__le64 xattr_version; -/* filelock */ +/* a union of non-export and export bodies. */ __le64 size, max_size, truncate_size;__le32 truncate_seq;struct ceph_timespec mtime, atime, ctime;
Signature · 1 line
2.36.0.rc1
Quoted 14 lines · Xiubo Li
The incorrect comment is misleading. Acutally the last members in
ceph_mds_capsstrcut is a union for none export and export bodies.Signed-off-by Xiubo Li <[email protected]>--- include/linux/ceph/ceph_fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/ceph/ceph_fs.h +0
-0
include/linux/ceph/ceph_fs.h struct ceph_mds_caps { · line 774
Quoted 8 lines
include/linux/ceph/ceph_fs.h +1
-1@@ -768,7 +768,7 @@ struct ceph_mds_caps {__le32 xattr_len;__le64 xattr_version; -/* filelock */ +/* a union of non-export and export bodies. */ __le64 size, max_size, truncate_size;__le32 truncate_seq;struct ceph_timespec mtime, atime, ctime;
Reviewed-by Jeff Layton <[email protected]>