From: Zhi Zhang Date: Wed, 2 May 2018 04:45:18 +0000 (+0800) Subject: client: change vxattr flags field to unsigned int X-Git-Tag: v14.0.0~193^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=886ec56a730a0fec67aca27ed20934c02c9f140b;p=ceph.git client: change vxattr flags field to unsigned int We use bit to define vxattr flags, so it should be unsigned. Change vxattr flags to be unsigned int for the consideration of more room to define other flags. Signed-off-by: Zhi Zhang --- diff --git a/src/client/Client.h b/src/client/Client.h index 785efa7a60d3..b0b8cfc24fab 100644 --- a/src/client/Client.h +++ b/src/client/Client.h @@ -885,7 +885,7 @@ private: size_t (Client::*getxattr_cb)(Inode *in, char *val, size_t size); bool readonly, hidden; bool (Client::*exists_cb)(Inode *in); - int flags; + unsigned int flags; }; /* Flags for VXattr */