summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-03-08 14:03:09 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-08 14:03:09 -0800
commita19cbd4bf258840ade3b6ee9e9256006d0644e09 (patch)
treeb532fe78c5ecbe5c8e6aca8b7d6f704a24a52129 /fs
parent432e7c0dfe884b6ab1c32fd3f17c64c31d8fa7e2 (diff)
downloadop-kernel-dev-a19cbd4bf258840ade3b6ee9e9256006d0644e09.zip
op-kernel-dev-a19cbd4bf258840ade3b6ee9e9256006d0644e09.tar.gz
Mark the pipe file operations static
They aren't used (nor even really usable) outside of pipe.c anyway Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/pipe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/pipe.c b/fs/pipe.c
index d722579..8aada8e 100644
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -605,7 +605,7 @@ struct file_operations rdwr_fifo_fops = {
.fasync = pipe_rdwr_fasync,
};
-struct file_operations read_pipe_fops = {
+static struct file_operations read_pipe_fops = {
.llseek = no_llseek,
.read = pipe_read,
.readv = pipe_readv,
@@ -617,7 +617,7 @@ struct file_operations read_pipe_fops = {
.fasync = pipe_read_fasync,
};
-struct file_operations write_pipe_fops = {
+static struct file_operations write_pipe_fops = {
.llseek = no_llseek,
.read = bad_pipe_r,
.write = pipe_write,
@@ -629,7 +629,7 @@ struct file_operations write_pipe_fops = {
.fasync = pipe_write_fasync,
};
-struct file_operations rdwr_pipe_fops = {
+static struct file_operations rdwr_pipe_fops = {
.llseek = no_llseek,
.read = pipe_read,
.readv = pipe_readv,
OpenPOWER on IntegriCloud