diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-09 23:29:35 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-09 23:29:35 +0000 |
commit | 35385d7a83b4cae6d5ea5f80f3b3377d94178344 (patch) | |
tree | 49494d95dfef31ba4f9a697d31e4028cf65a57bd /ipc/shm.c | |
parent | d9d8062e7b49943b2a2fb034f817a9fc217fd40f (diff) |
Merge with 2.4.0-test3-pre7.
Diffstat (limited to 'ipc/shm.c')
-rw-r--r-- | ipc/shm.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -52,7 +52,6 @@ static struct super_block *shm_read_super(struct super_block *,void *, int); static void shm_put_super (struct super_block *); static int shm_remount_fs (struct super_block *, int *, char *); static void shm_read_inode (struct inode *); -static void shm_write_inode(struct inode *, int); static int shm_statfs (struct super_block *, struct statfs *); static int shm_create (struct inode *,struct dentry *,int); static struct dentry *shm_lookup (struct inode *,struct dentry *); @@ -147,7 +146,6 @@ static DECLARE_FSTYPE(shm_fs_type, "shm", shm_read_super, FS_SINGLE); static struct super_operations shm_sops = { read_inode: shm_read_inode, - write_inode: shm_write_inode, delete_inode: shm_delete, put_super: shm_put_super, statfs: shm_statfs, @@ -371,10 +369,6 @@ static int shm_statfs(struct super_block *sb, struct statfs *buf) return 0; } -static void shm_write_inode(struct inode * inode, int sync) -{ -} - static void shm_read_inode(struct inode * inode) { int id; @@ -831,6 +825,7 @@ asmlinkage long sys_shmget (key_t key, size_t size, int shmflg) return err; } +/* FIXME: maybe we need lock_kernel() here */ static void shm_delete (struct inode *ino) { int shmid = ino->i_ino; |