mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
new helpers: ns_alloc_inum/ns_free_inum
take struct ns_common *, for now simply wrappers around proc_{alloc,free}_inum() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
64964528b2
commit
6344c433a4
7 changed files with 16 additions and 13 deletions
|
@ -71,4 +71,7 @@ static inline bool proc_ns_inode(struct inode *inode) { return false; }
|
|||
|
||||
#endif /* CONFIG_PROC_FS */
|
||||
|
||||
#define ns_alloc_inum(ns) proc_alloc_inum(&(ns)->inum)
|
||||
#define ns_free_inum(ns) proc_free_inum((ns)->inum)
|
||||
|
||||
#endif /* _LINUX_PROC_NS_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue