diff options
Diffstat (limited to 'net/batman-adv/debugfs.c')
-rw-r--r-- | net/batman-adv/debugfs.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/batman-adv/debugfs.c b/net/batman-adv/debugfs.c index 34fbb1667bcd..391d4fb2026f 100644 --- a/net/batman-adv/debugfs.c +++ b/net/batman-adv/debugfs.c | |||
@@ -267,6 +267,15 @@ static int batadv_bla_claim_table_open(struct inode *inode, struct file *file) | |||
267 | return single_open(file, batadv_bla_claim_table_seq_print_text, | 267 | return single_open(file, batadv_bla_claim_table_seq_print_text, |
268 | net_dev); | 268 | net_dev); |
269 | } | 269 | } |
270 | |||
271 | static int batadv_bla_backbone_table_open(struct inode *inode, | ||
272 | struct file *file) | ||
273 | { | ||
274 | struct net_device *net_dev = (struct net_device *)inode->i_private; | ||
275 | return single_open(file, batadv_bla_backbone_table_seq_print_text, | ||
276 | net_dev); | ||
277 | } | ||
278 | |||
270 | #endif | 279 | #endif |
271 | 280 | ||
272 | static int batadv_transtable_local_open(struct inode *inode, struct file *file) | 281 | static int batadv_transtable_local_open(struct inode *inode, struct file *file) |
@@ -305,6 +314,8 @@ static BATADV_DEBUGINFO(transtable_global, S_IRUGO, | |||
305 | batadv_transtable_global_open); | 314 | batadv_transtable_global_open); |
306 | #ifdef CONFIG_BATMAN_ADV_BLA | 315 | #ifdef CONFIG_BATMAN_ADV_BLA |
307 | static BATADV_DEBUGINFO(bla_claim_table, S_IRUGO, batadv_bla_claim_table_open); | 316 | static BATADV_DEBUGINFO(bla_claim_table, S_IRUGO, batadv_bla_claim_table_open); |
317 | static BATADV_DEBUGINFO(bla_backbone_table, S_IRUGO, | ||
318 | batadv_bla_backbone_table_open); | ||
308 | #endif | 319 | #endif |
309 | static BATADV_DEBUGINFO(transtable_local, S_IRUGO, | 320 | static BATADV_DEBUGINFO(transtable_local, S_IRUGO, |
310 | batadv_transtable_local_open); | 321 | batadv_transtable_local_open); |
@@ -316,6 +327,7 @@ static struct batadv_debuginfo *batadv_mesh_debuginfos[] = { | |||
316 | &batadv_debuginfo_transtable_global, | 327 | &batadv_debuginfo_transtable_global, |
317 | #ifdef CONFIG_BATMAN_ADV_BLA | 328 | #ifdef CONFIG_BATMAN_ADV_BLA |
318 | &batadv_debuginfo_bla_claim_table, | 329 | &batadv_debuginfo_bla_claim_table, |
330 | &batadv_debuginfo_bla_backbone_table, | ||
319 | #endif | 331 | #endif |
320 | &batadv_debuginfo_transtable_local, | 332 | &batadv_debuginfo_transtable_local, |
321 | &batadv_debuginfo_vis_data, | 333 | &batadv_debuginfo_vis_data, |