The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.33.x-ovz" and will 
appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-514.26.1.vz7.33.12
------>
commit 2fd379b4a15deeb78baefc4f472564c3c674d549
Author: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
Date:   Fri Jul 21 12:44:38 2017 +0400

    ve/proc/net: proc_net_create() helper introduced
    
    Patchset description:
    proc/net: rework containerization
    
    This is a precursor series in scope of
    https://jira.sw.ru/browse/PSBM-58574
    
    ======================================================
    This patch description:
    
    Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
    Reviewed-by: Dmitry Safonov <dsafo...@virtuozzo.com>
---
 include/linux/proc_fs.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h
index 4660327..1b516bc 100644
--- a/include/linux/proc_fs.h
+++ b/include/linux/proc_fs.h
@@ -67,6 +67,13 @@ static inline struct proc_dir_entry *proc_create(
        return proc_create_data(name, mode, parent, proc_fops, NULL);
 }
 
+static inline struct proc_dir_entry *proc_net_create(
+       const char *name, umode_t mode, struct proc_dir_entry *parent,
+       const struct file_operations *fops)
+{
+       return proc_net_create_data(name, mode, parent, fops, NULL);
+}
+
 extern void proc_set_size(struct proc_dir_entry *, loff_t);
 extern void proc_set_user(struct proc_dir_entry *, kuid_t, kgid_t);
 extern void *PDE_DATA(const struct inode *);
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to