Re: [PATCH] ceph: fix the incorrect comment for the ceph_mds_caps struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2022-06-06 at 20:24 +0800, Xiubo Li wrote:
> 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@xxxxxxxxxx>
> ---
>  include/linux/ceph/ceph_fs.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/linux/ceph/ceph_fs.h b/include/linux/ceph/ceph_fs.h
> index 86bf82dbd8b8..24622ecb9900 100644
> --- a/include/linux/ceph/ceph_fs.h
> +++ b/include/linux/ceph/ceph_fs.h
> @@ -768,7 +768,7 @@ struct ceph_mds_caps {
>  	__le32 xattr_len;
>  	__le64 xattr_version;
>  
> -	/* filelock */
> +	/* a union of none export and export bodies. */

Also confusing :)

I think you mean "a union of non-export and export bodies."

>  	__le64 size, max_size, truncate_size;
>  	__le32 truncate_seq;
>  	struct ceph_timespec mtime, atime, ctime;

-- 
Jeff Layton <jlayton@xxxxxxxxxx>




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux