mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
pipe: fold file_operations instances in one
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
f776c73888
commit
599a0ac14e
4 changed files with 38 additions and 195 deletions
|
|
@ -1803,7 +1803,7 @@ void init_special_inode(struct inode *inode, umode_t mode, dev_t rdev)
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue