slub: fix a possible memleak in __slab_alloc()
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / anon_inodes.h
blob8013a45242fe37df8b07d8970e14f3ab05d570da
1 /*
2 * include/linux/anon_inodes.h
4 * Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org>
6 */
8 #ifndef _LINUX_ANON_INODES_H
9 #define _LINUX_ANON_INODES_H
11 struct file_operations;
13 struct file *anon_inode_getfile(const char *name,
14 const struct file_operations *fops,
15 void *priv, int flags);
16 int anon_inode_getfd(const char *name, const struct file_operations *fops,
17 void *priv, int flags);
19 #endif /* _LINUX_ANON_INODES_H */