Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11884
b: refs/heads/master
c: 5d57bd3
h: refs/heads/master
v: v3
  • Loading branch information
Matt Mackall authored and Linus Torvalds committed Oct 31, 2005
1 parent a522c7f commit ce2c3e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a3e713b5fdd0e54c2e3c8909ccde2a98839e3a52
refs/heads/master: 5d57bd39eb3dbf2866b5f5cee8fbd7a29b00c56f
5 changes: 4 additions & 1 deletion trunk/mm/tiny-shmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,14 @@ static struct vfsmount *shm_mnt;

static int __init init_tmpfs(void)
{
register_filesystem(&tmpfs_fs_type);
BUG_ON(register_filesystem(&tmpfs_fs_type) != 0);

#ifdef CONFIG_TMPFS
devfs_mk_dir("shm");
#endif
shm_mnt = kern_mount(&tmpfs_fs_type);
BUG_ON(IS_ERR(shm_mnt));

return 0;
}
module_init(init_tmpfs)
Expand Down

0 comments on commit ce2c3e9

Please sign in to comment.