Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
7c99b975
Commit
7c99b975
authored
Apr 03, 2002
by
Dave Kleikamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to handle regular files in jfs_mknod
Submitted by Christoph Hellwig
parent
4e565367
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
fs/jfs/namei.c
fs/jfs/namei.c
+1
-6
No files found.
fs/jfs/namei.c
View file @
7c99b975
...
@@ -1360,11 +1360,6 @@ int jfs_mknod(struct inode *dir, struct dentry *dentry, int mode, int rdev)
...
@@ -1360,11 +1360,6 @@ int jfs_mknod(struct inode *dir, struct dentry *dentry, int mode, int rdev)
goto
out1
;
goto
out1
;
}
}
if
(
S_ISREG
(
ip
->
i_mode
))
{
ip
->
i_op
=
&
jfs_file_inode_operations
;
ip
->
i_fop
=
&
jfs_file_operations
;
ip
->
i_mapping
->
a_ops
=
&
jfs_aops
;
}
else
init_special_inode
(
ip
,
ip
->
i_mode
,
rdev
);
init_special_inode
(
ip
,
ip
->
i_mode
,
rdev
);
insert_inode_hash
(
ip
);
insert_inode_hash
(
ip
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment