runtime/linux/autoconf-fs_supers-hlist.c
raw| 1 | #include <linux/fs.h> |
| 2 | #include <linux/list.h> |
| 3 | |
| 4 | /* |
| 5 | commit 9591718a5a7da79f18eb01e626c77247993cdb61 |
| 6 | Author: Al Viro <[email protected]> |
| 7 | Date: Mon Dec 12 22:53:00 2011 -0500 |
| 8 | |
| 9 | vfs: convert fs_supers to hlist |
| 10 | |
| 11 | Signed-off-by: Al Viro <[email protected]> |
| 12 | */ |
| 13 | |
| 14 | int foo (struct super_block *sb); |
| 15 | |
| 16 | int foo (struct super_block *sb) { |
| 17 | return (hlist_unhashed (& sb->s_instances)); |
| 18 | } |