diff options
Diffstat (limited to 'fs/pipe.c')
| -rw-r--r-- | fs/pipe.c | 7 |
1 files changed, 1 insertions, 6 deletions
| @@ -860,7 +860,7 @@ static char *pipefs_dname(struct dentry *dentry, char *buffer, int buflen) | |||
| 860 | dentry->d_inode->i_ino); | 860 | dentry->d_inode->i_ino); |
| 861 | } | 861 | } |
| 862 | 862 | ||
| 863 | static struct dentry_operations pipefs_dentry_operations = { | 863 | static const struct dentry_operations pipefs_dentry_operations = { |
| 864 | .d_delete = pipefs_delete_dentry, | 864 | .d_delete = pipefs_delete_dentry, |
| 865 | .d_dname = pipefs_dname, | 865 | .d_dname = pipefs_dname, |
| 866 | }; | 866 | }; |
| @@ -1024,11 +1024,6 @@ int do_pipe_flags(int *fd, int flags) | |||
| 1024 | return error; | 1024 | return error; |
| 1025 | } | 1025 | } |
| 1026 | 1026 | ||
| 1027 | int do_pipe(int *fd) | ||
| 1028 | { | ||
| 1029 | return do_pipe_flags(fd, 0); | ||
| 1030 | } | ||
| 1031 | |||
| 1032 | /* | 1027 | /* |
| 1033 | * sys_pipe() is the normal C calling standard for creating | 1028 | * sys_pipe() is the normal C calling standard for creating |
| 1034 | * a pipe. It's not the way Unix traditionally does this, though. | 1029 | * a pipe. It's not the way Unix traditionally does this, though. |
