Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
8daed1e5
Commit
8daed1e5
authored
May 11, 2009
by
J. Bruce Fields
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nfsd: silence lockdep warning
Signed-off-by:
J. Bruce Fields
<
bfields@citi.umich.edu
>
parent
89996df4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fs/nfsd/nfs4recover.c
fs/nfsd/nfs4recover.c
+2
-2
No files found.
fs/nfsd/nfs4recover.c
View file @
8daed1e5
...
@@ -229,7 +229,7 @@ nfsd4_list_rec_dir(struct dentry *dir, recdir_func *f)
...
@@ -229,7 +229,7 @@ nfsd4_list_rec_dir(struct dentry *dir, recdir_func *f)
goto
out
;
goto
out
;
status
=
vfs_readdir
(
filp
,
nfsd4_build_namelist
,
&
names
);
status
=
vfs_readdir
(
filp
,
nfsd4_build_namelist
,
&
names
);
fput
(
filp
);
fput
(
filp
);
mutex_lock
(
&
dir
->
d_inode
->
i_mutex
);
mutex_lock
_nested
(
&
dir
->
d_inode
->
i_mutex
,
I_MUTEX_PARENT
);
while
(
!
list_empty
(
&
names
))
{
while
(
!
list_empty
(
&
names
))
{
entry
=
list_entry
(
names
.
next
,
struct
name_list
,
list
);
entry
=
list_entry
(
names
.
next
,
struct
name_list
,
list
);
...
@@ -264,7 +264,7 @@ nfsd4_unlink_clid_dir(char *name, int namlen)
...
@@ -264,7 +264,7 @@ nfsd4_unlink_clid_dir(char *name, int namlen)
dprintk
(
"NFSD: nfsd4_unlink_clid_dir. name %.*s
\n
"
,
namlen
,
name
);
dprintk
(
"NFSD: nfsd4_unlink_clid_dir. name %.*s
\n
"
,
namlen
,
name
);
mutex_lock
(
&
rec_dir
.
dentry
->
d_inode
->
i_mutex
);
mutex_lock
_nested
(
&
rec_dir
.
dentry
->
d_inode
->
i_mutex
,
I_MUTEX_PARENT
);
dentry
=
lookup_one_len
(
name
,
rec_dir
.
dentry
,
namlen
);
dentry
=
lookup_one_len
(
name
,
rec_dir
.
dentry
,
namlen
);
if
(
IS_ERR
(
dentry
))
{
if
(
IS_ERR
(
dentry
))
{
status
=
PTR_ERR
(
dentry
);
status
=
PTR_ERR
(
dentry
);
...
...
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