ceph: fix the incorrect comment for the ceph_mds_caps struct
authorXiubo Li <xiubli@redhat.com>
Mon, 6 Jun 2022 12:15:33 +0000 (20:15 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 2 Aug 2022 22:54:12 +0000 (00:54 +0200)
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 <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/ceph_fs.h

index 86bf82d..40740e2 100644 (file)
@@ -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;