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
30a0e2c9
Commit
30a0e2c9
authored
Jul 29, 2002
by
Patrick Mochel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
driverfs: Remove references to struct driver_file_entry::dentry, as we don't use it
for anything useful anymore.
parent
3442d2c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
fs/driverfs/inode.c
fs/driverfs/inode.c
+0
-2
include/linux/driverfs_fs.h
include/linux/driverfs_fs.h
+0
-1
No files found.
fs/driverfs/inode.c
View file @
30a0e2c9
...
...
@@ -656,7 +656,6 @@ driverfs_create_file(struct driver_file_entry * entry,
/* Still good? Ok, then fill in the blanks: */
if
(
!
error
)
{
dentry
->
d_inode
->
u
.
generic_ip
=
(
void
*
)
entry
;
entry
->
dentry
=
dentry
;
entry
->
parent
=
parent
;
}
}
else
...
...
@@ -701,7 +700,6 @@ int driverfs_create_symlink(struct driver_dir_entry * parent,
error
=
driverfs_symlink
(
parent
->
dentry
->
d_inode
,
dentry
,
target
);
if
(
!
error
)
{
dentry
->
d_inode
->
u
.
generic_ip
=
(
void
*
)
entry
;
entry
->
dentry
=
dentry
;
entry
->
parent
=
parent
;
}
}
else
...
...
include/linux/driverfs_fs.h
View file @
30a0e2c9
...
...
@@ -38,7 +38,6 @@ struct driver_file_entry {
struct
driver_dir_entry
*
parent
;
char
*
name
;
mode_t
mode
;
struct
dentry
*
dentry
;
ssize_t
(
*
show
)(
struct
device
*
dev
,
char
*
buf
,
size_t
count
,
loff_t
off
);
ssize_t
(
*
store
)(
struct
device
*
dev
,
const
char
*
buf
,
size_t
count
,
loff_t
off
);
...
...
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