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
fb0e76c5
Commit
fb0e76c5
authored
Mar 03, 2003
by
Patrick Mochel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sysfs: fix more merge breakage.
parent
004ced81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
fs/sysfs/inode.c
fs/sysfs/inode.c
+2
-0
No files found.
fs/sysfs/inode.c
View file @
fb0e76c5
...
...
@@ -51,6 +51,7 @@ int sysfs_create(struct dentry * dentry, int mode, int (*init)(struct inode *))
goto
Proceed
;
else
error
=
-
ENOMEM
;
}
else
error
=
-
EEXIST
;
}
else
error
=
-
ENOENT
;
...
...
@@ -97,6 +98,7 @@ void sysfs_hash_and_remove(struct dentry * dir, const char * name)
pr_debug
(
"sysfs: Removing %s (%d)
\n
"
,
victim
->
d_name
.
name
,
atomic_read
(
&
victim
->
d_count
));
/*
* Drop reference from initial sysfs_get_dentry().
*/
dput
(
victim
);
...
...
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