diff options
| author | Andries E. Brouwer <andries.brouwer@cwi.nl> | 2002-11-19 17:36:12 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-11-19 17:36:12 -0800 |
| commit | 72c85a120f2e9a6deb5a3059108467d54bcbbb6f (patch) | |
| tree | 923596b73ab677f8aa730283b5e2288ba9ad7cb7 /include/linux/module.h | |
| parent | 4187292175638e71e02a3522e1bc8372478d6888 (diff) | |
[PATCH] *_mknod prototype
The dev_t argument of sys_mknod is passed to vfs_mknod, and is then cast
to int when foo_mknod is called, and is subsequently very often cast
back to dev_t. (For example, minix_mknod() calls minix_set_inode() that
takes a dev_t.)
This is a cleanup that avoids this back-and-forth casting by giving
foo_mknod a prototype with dev_t. In most cases now the dev_t is
transmitted untouched until init_special_inode.
It also makes the two routines hugetlbfs_get_inode() and
shmem_get_inode() static.
Diffstat (limited to 'include/linux/module.h')
0 files changed, 0 insertions, 0 deletions
