summaryrefslogtreecommitdiff
path: root/libbcachefs/replicas.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-12-18 16:11:04 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2019-12-18 16:11:04 -0500
commitf026d7cc812b5a2e20b83a8a923cb1d6063e85e3 (patch)
tree210f85ed7f59116383e86e46e25a432e7e411d43 /libbcachefs/replicas.h
parent54fc3909b437819ee98d50579907a9049051ea1c (diff)
Update bcachefs sources to 5d7142b75a bcachefs: Redo filesystem usage ioctls
Diffstat (limited to 'libbcachefs/replicas.h')
-rw-r--r--libbcachefs/replicas.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libbcachefs/replicas.h b/libbcachefs/replicas.h
index 0d6e1912..8527d828 100644
--- a/libbcachefs/replicas.h
+++ b/libbcachefs/replicas.h
@@ -72,9 +72,6 @@ int bch2_replicas_set_usage(struct bch_fs *,
/* iterate over superblock replicas - used by userspace tools: */
-#define replicas_entry_bytes(_i) \
- (offsetof(typeof(*(_i)), devs) + (_i)->nr_devs)
-
#define replicas_entry_next(_i) \
((typeof(_i)) ((void *) (_i) + replicas_entry_bytes(_i)))