From: Hitoshi Mitake <[email protected]>
Signed-off-by: Hitoshi Mitake <[email protected]>
---
sheep/sheep_priv.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sheep/sheep_priv.h b/sheep/sheep_priv.h
index 7b33f11..3fb9fe7 100644
--- a/sheep/sheep_priv.h
+++ b/sheep/sheep_priv.h
@@ -479,7 +479,7 @@ static inline bool node_is_local(const struct sd_node *n)
*/
static inline bool is_sparse_object(uint64_t oid)
{
- return !is_data_obj(oid) || oid_is_readonly(oid);
+ return is_ledger_object(oid);
}
/* gateway operations */
--
1.9.1
--
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog