diff options
author | Hariprasad Kelam <hariprasad.kelam@gmail.com> | 2019-05-25 11:15:59 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-07-08 14:01:42 +0200 |
commit | 03af439ad9408c28e53b880daa56590dda1c8472 (patch) | |
tree | 15230302f14f3f7846aaa274d16e43332793820d /fs/ceph/xattr.c | |
parent | ceph: hold i_ceph_lock when removing caps for freeing inode (diff) | |
download | linux-03af439ad9408c28e53b880daa56590dda1c8472.tar.xz linux-03af439ad9408c28e53b880daa56590dda1c8472.zip |
ceph: fix warning PTR_ERR_OR_ZERO can be used
change1: fix below warning reported by coccicheck
/fs/ceph/export.c:371:33-39: WARNING: PTR_ERR_OR_ZERO can be used
change2: typecasted PTR_ERR_OR_ZERO to long as dout expecting long
Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/xattr.c')
0 files changed, 0 insertions, 0 deletions