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
fc7bed8c
Commit
fc7bed8c
authored
Jan 25, 2010
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't bother with d_genocide in rpc_pipe
kill_litter_super() from ->kill_sb() will take care of the junk
parent
5b7e934d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
net/sunrpc/rpc_pipe.c
net/sunrpc/rpc_pipe.c
+2
-7
No files found.
net/sunrpc/rpc_pipe.c
View file @
fc7bed8c
...
...
@@ -999,19 +999,14 @@ rpc_fill_super(struct super_block *sb, void *data, int silent)
inode
=
rpc_get_inode
(
sb
,
S_IFDIR
|
0755
);
if
(
!
inode
)
return
-
ENOMEM
;
root
=
d_alloc_root
(
inode
);
sb
->
s_root
=
root
=
d_alloc_root
(
inode
);
if
(
!
root
)
{
iput
(
inode
);
return
-
ENOMEM
;
}
if
(
rpc_populate
(
root
,
files
,
RPCAUTH_lockd
,
RPCAUTH_RootEOF
,
NULL
))
goto
out
;
sb
->
s_root
=
root
;
return
0
;
out:
d_genocide
(
root
);
dput
(
root
);
return
-
ENOMEM
;
return
0
;
}
static
int
...
...
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