diff options
author | Vijay Bellur <vbellur@redhat.com> | 2018-09-24 13:21:58 -0700 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-09-25 17:01:43 +0000 |
commit | 8f207feb260bc6112d5085859b43efc8378a4c5f (patch) | |
tree | 2b1ec11256742e8d564de469b5d6476311beb210 /xlators/features/marker/src/marker-quota.h | |
parent | f1b2455b9d01bae8c4652fc3583a60ff7000410e (diff) |
features/marker: Avoid passing structures as parameters to functions
Fixes CIDs: 1388779,1390242,1390057
The patch does the following:
1. Changes the prototype of mq_inspect_file_xattr() and mq_xattr_state()
to have a parameter of struct iatt * instead of struct iatt.
2. Remove unneeded struct iatt parameter from
mq_inspect_directory_xattr()
Change-Id: I1f6eabda042f0fe56d8c9bca010302f5e518dbe4
updates: bz#789278
Signed-off-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/features/marker/src/marker-quota.h')
-rw-r--r-- | xlators/features/marker/src/marker-quota.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/src/marker-quota.h b/xlators/features/marker/src/marker-quota.h index 7f63e268203..7e24f1bc4f7 100644 --- a/xlators/features/marker/src/marker-quota.h +++ b/xlators/features/marker/src/marker-quota.h @@ -129,7 +129,7 @@ int32_t mq_req_xattr(xlator_t *, loc_t *, dict_t *, char *, char *); int32_t -mq_xattr_state(xlator_t *, loc_t *, dict_t *, struct iatt); +mq_xattr_state(xlator_t *, loc_t *, dict_t *, struct iatt *); int mq_initiate_quota_txn(xlator_t *, loc_t *, struct iatt *); |