summaryrefslogtreecommitdiffstats
path: root/fs/ramfs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-26 09:16:55 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 04:55:07 +0100
commit632861f05a8e5878a267d173000880ceb608b56e (patch)
tree1b79f6fd729d7f5253c98afaad2d2776b30e59aa /fs/ramfs
parentshmem, ramfs: propagate umode_t, open-coded S_ISREG (diff)
downloadlinux-632861f05a8e5878a267d173000880ceb608b56e.tar.xz
linux-632861f05a8e5878a267d173000880ceb608b56e.zip
pohmelfs: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ramfs')
-rw-r--r--fs/ramfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c
index 145680e9d581..aec766abe3af 100644
--- a/fs/ramfs/inode.c
+++ b/fs/ramfs/inode.c
@@ -52,7 +52,7 @@ static struct backing_dev_info ramfs_backing_dev_info = {
};
struct inode *ramfs_get_inode(struct super_block *sb,
- const struct inode *dir, int mode, dev_t dev)
+ const struct inode *dir, umode_t mode, dev_t dev)
{
struct inode * inode = new_inode(sb);