Whamcloud - gitweb
LU-8066 ldlm: match store macro prototype
[fs/lustre-release.git] / lustre / ldlm / ldlm_internal.h
index 3b7e55d..0f184e3 100644 (file)
@@ -288,7 +288,7 @@ enum ldlm_policy_res {
        static ssize_t var##_store(struct kobject *kobj,                   \
                                   struct attribute *attr,                 \
                                   const char *buffer,                     \
-                                  unsigned long count)                    \
+                                  size_t count)                           \
        {                                                                  \
                struct ldlm_pool *pl = container_of(kobj, struct ldlm_pool,\
                                                    pl_kobj);              \
@@ -324,7 +324,7 @@ enum ldlm_policy_res {
        static ssize_t var##_store(struct kobject *kobj,                   \
                                   struct attribute *attr,                 \
                                   const char *buffer,                     \
-                                  unsigned long count)                    \
+                                  size_t count)                           \
        {                                                                  \
                struct ldlm_pool *pl = container_of(kobj, struct ldlm_pool,\
                                                    pl_kobj);              \