commit | 599a0ac14e065b7c08471ef2e75a504b7dec9267 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Mar 12 09:58:10 2013 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Apr 09 14:12:58 2013 -0400 |
tree | 21f9caef768eb84dad3ce19f76e646af0a5e4dfa | |
parent | f776c738883bc949e654568a565aee5a7d3fe133 [diff] [blame] |
pipe: fold file_operations instances in one Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/inode.c b/fs/inode.c index f5f7c06..5b76d9b 100644 --- a/fs/inode.c +++ b/fs/inode.c
@@ -1803,7 +1803,7 @@ inode->i_fop = &def_blk_fops; inode->i_rdev = rdev; } else if (S_ISFIFO(mode)) - inode->i_fop = &def_fifo_fops; + inode->i_fop = &pipefifo_fops; else if (S_ISSOCK(mode)) inode->i_fop = &bad_sock_fops; else