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
nexedi
linux
Commits
7fffa27d
Commit
7fffa27d
authored
Oct 11, 2002
by
Neil Brown
Committed by
Linus Torvalds
Oct 11, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] kNFSd: A couple of possible incorrect calls to dput....
Thanks to Hirokazu Takahashi <taka@valinux.co.jp>
parent
9b2ae623
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
fs/exportfs/expfs.c
fs/exportfs/expfs.c
+2
-1
No files found.
fs/exportfs/expfs.c
View file @
7fffa27d
...
...
@@ -183,12 +183,12 @@ find_exported_dentry(struct super_block *sb, void *obj, void *parent,
err
=
CALL
(
nops
,
get_name
)(
ppd
,
nbuf
,
pd
);
if
(
err
)
{
dput
(
ppd
);
dput
(
pd
);
if
(
err
==
-
ENOENT
)
/* some race between get_parent and
* get_name? just try again
*/
continue
;
dput
(
pd
);
break
;
}
dprintk
(
"find_exported_dentry: found name: %s
\n
"
,
nbuf
);
...
...
@@ -254,6 +254,7 @@ find_exported_dentry(struct super_block *sb, void *obj, void *parent,
return
result
;
/* one last try of the aliases.. */
spin_lock
(
&
dcache_lock
);
toput
=
NULL
;
head
=
&
result
->
d_inode
->
i_dentry
;
list_for_each
(
le
,
head
)
{
struct
dentry
*
dentry
=
list_entry
(
le
,
struct
dentry
,
d_alias
);
...
...
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