Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42679
b: refs/heads/master
c: b86c089
h: refs/heads/master
i:
  42677: a5d2de1
  42675: 31c2f4c
  42671: 78d0c09
v: v3
  • Loading branch information
Christoph Lameter authored and Linus Torvalds committed Dec 7, 2006
1 parent 751ea1a commit b2f4eb6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aa362a83e78d2e9320da588805cf2a0b53356bc3
refs/heads/master: b86c089b83b8ae2bc814db865057768a9ba787b5
2 changes: 2 additions & 0 deletions trunk/include/linux/fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -1481,6 +1481,8 @@ extern char * getname(const char __user *);
extern void __init vfs_caches_init_early(void);
extern void __init vfs_caches_init(unsigned long);

extern struct kmem_cache *names_cachep;

#define __getname() kmem_cache_alloc(names_cachep, SLAB_KERNEL)
#define __putname(name) kmem_cache_free(names_cachep, (void *)(name))
#ifndef CONFIG_AUDITSYSCALL
Expand Down
3 changes: 0 additions & 3 deletions trunk/include/linux/slab.h
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,6 @@ static inline void *kcalloc(size_t n, size_t size, gfp_t flags)

#endif /* CONFIG_SLOB */

/* System wide caches */
extern kmem_cache_t *names_cachep;

#endif /* __KERNEL__ */

#endif /* _LINUX_SLAB_H */

0 comments on commit b2f4eb6

Please sign in to comment.