diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2010-03-04 17:32:18 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-21 18:31:26 -0400 |
commit | 454abafe9d8beb3fe7da06131b3d81d6d352a959 (patch) | |
tree | 4be9c50d76aecd2c43959550814fb4337d27c6d9 /include | |
parent | 6a9e652c88fad648ea088ac07dbc671a9813f75e (diff) | |
download | linux-454abafe9d8beb3fe7da06131b3d81d6d352a959.tar.gz linux-454abafe9d8beb3fe7da06131b3d81d6d352a959.tar.bz2 linux-454abafe9d8beb3fe7da06131b3d81d6d352a959.zip |
ramfs: replace inode uid,gid,mode initialization with helper function
- seems what ramfs_get_inode is only locally, make it static.
[AV: the hell it is; it's used by shmem, so shmem needed conversion too
and no, that function can't be made static]
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ramfs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ramfs.h b/include/linux/ramfs.h index 8600508c77a6..e7320b5e82fb 100644 --- a/include/linux/ramfs.h +++ b/include/linux/ramfs.h @@ -1,7 +1,8 @@ #ifndef _LINUX_RAMFS_H #define _LINUX_RAMFS_H -struct inode *ramfs_get_inode(struct super_block *sb, int mode, dev_t dev); +struct inode *ramfs_get_inode(struct super_block *sb, const struct inode *dir, + int mode, dev_t dev); extern int ramfs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt); |