diff options
-rw-r--r-- | block/blk-cgroup.c | 1 | ||||
-rw-r--r-- | fs/fs-writeback.c | 3 | ||||
-rw-r--r-- | include/linux/cgroup.h | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c index 8afa52b0d148..ad7a91dec934 100644 --- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c | |||
@@ -48,6 +48,7 @@ struct blkcg blkcg_root; | |||
48 | EXPORT_SYMBOL_GPL(blkcg_root); | 48 | EXPORT_SYMBOL_GPL(blkcg_root); |
49 | 49 | ||
50 | struct cgroup_subsys_state * const blkcg_root_css = &blkcg_root.css; | 50 | struct cgroup_subsys_state * const blkcg_root_css = &blkcg_root.css; |
51 | EXPORT_SYMBOL_GPL(blkcg_root_css); | ||
51 | 52 | ||
52 | static struct blkcg_policy *blkcg_policy[BLKCG_MAX_POLS]; | 53 | static struct blkcg_policy *blkcg_policy[BLKCG_MAX_POLS]; |
53 | 54 | ||
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 9ebfb1b28430..a8a40bc26c2f 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c | |||
@@ -270,6 +270,7 @@ void __inode_attach_wb(struct inode *inode, struct page *page) | |||
270 | if (unlikely(cmpxchg(&inode->i_wb, NULL, wb))) | 270 | if (unlikely(cmpxchg(&inode->i_wb, NULL, wb))) |
271 | wb_put(wb); | 271 | wb_put(wb); |
272 | } | 272 | } |
273 | EXPORT_SYMBOL_GPL(__inode_attach_wb); | ||
273 | 274 | ||
274 | /** | 275 | /** |
275 | * locked_inode_to_wb_and_lock_list - determine a locked inode's wb and lock it | 276 | * locked_inode_to_wb_and_lock_list - determine a locked inode's wb and lock it |
@@ -582,6 +583,7 @@ void wbc_attach_and_unlock_inode(struct writeback_control *wbc, | |||
582 | if (unlikely(wb_dying(wbc->wb))) | 583 | if (unlikely(wb_dying(wbc->wb))) |
583 | inode_switch_wbs(inode, wbc->wb_id); | 584 | inode_switch_wbs(inode, wbc->wb_id); |
584 | } | 585 | } |
586 | EXPORT_SYMBOL_GPL(wbc_attach_and_unlock_inode); | ||
585 | 587 | ||
586 | /** | 588 | /** |
587 | * wbc_detach_inode - disassociate wbc from inode and perform foreign detection | 589 | * wbc_detach_inode - disassociate wbc from inode and perform foreign detection |
@@ -701,6 +703,7 @@ void wbc_detach_inode(struct writeback_control *wbc) | |||
701 | wb_put(wbc->wb); | 703 | wb_put(wbc->wb); |
702 | wbc->wb = NULL; | 704 | wbc->wb = NULL; |
703 | } | 705 | } |
706 | EXPORT_SYMBOL_GPL(wbc_detach_inode); | ||
704 | 707 | ||
705 | /** | 708 | /** |
706 | * wbc_account_io - account IO issued during writeback | 709 | * wbc_account_io - account IO issued during writeback |
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 3745ecdad925..852d885df10a 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h | |||
@@ -699,6 +699,7 @@ void cgroup_path_from_kernfs_id(const union kernfs_node_id *id, | |||
699 | struct cgroup_subsys_state; | 699 | struct cgroup_subsys_state; |
700 | struct cgroup; | 700 | struct cgroup; |
701 | 701 | ||
702 | static inline void css_get(struct cgroup_subsys_state *css) {} | ||
702 | static inline void css_put(struct cgroup_subsys_state *css) {} | 703 | static inline void css_put(struct cgroup_subsys_state *css) {} |
703 | static inline int cgroup_attach_task_all(struct task_struct *from, | 704 | static inline int cgroup_attach_task_all(struct task_struct *from, |
704 | struct task_struct *t) { return 0; } | 705 | struct task_struct *t) { return 0; } |