summaryrefslogtreecommitdiffstats
path: root/fs/fifo.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-05 06:47:02 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-05 06:47:02 +0000
commit99a7e12f34b3661a0d1354eef83a0eef4df5e34c (patch)
tree3560aca9ca86792f9ab7bd87861ea143a1b3c7a3 /fs/fifo.c
parente73a04659c0b8cdee4dd40e58630e2cf63afb316 (diff)
Merge with Linux 2.3.38.
Diffstat (limited to 'fs/fifo.c')
-rw-r--r--fs/fifo.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/fs/fifo.c b/fs/fifo.c
index 516e690c9..88d8bd33b 100644
--- a/fs/fifo.c
+++ b/fs/fifo.c
@@ -153,28 +153,9 @@ err_nolock_nocleanup:
* depending on the access mode of the file...
*/
static struct file_operations def_fifo_fops = {
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- fifo_open, /* will set read or write pipe_fops */
- NULL,
- NULL,
- NULL,
- NULL
+ open: fifo_open, /* will set read or write pipe_fops */
};
struct inode_operations fifo_inode_operations = {
&def_fifo_fops, /* default file operations */
};
-
-
-/* Goner. Filesystems do not use it anymore. */
-
-void init_fifo(struct inode * inode)
-{
- inode->i_op = &fifo_inode_operations;
-}