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
f6948697
Commit
f6948697
authored
Jan 30, 2010
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a couple of mntget+dget -> path_get in nfs4proc
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
6eae7974
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
fs/nfs/nfs4proc.c
fs/nfs/nfs4proc.c
+4
-4
No files found.
fs/nfs/nfs4proc.c
View file @
f6948697
...
...
@@ -724,8 +724,8 @@ static struct nfs4_opendata *nfs4_opendata_alloc(struct path *path,
p
->
o_arg
.
seqid
=
nfs_alloc_seqid
(
&
sp
->
so_seqid
);
if
(
p
->
o_arg
.
seqid
==
NULL
)
goto
err_free
;
p
->
path
.
mnt
=
mntget
(
path
->
mnt
);
p
->
path
.
dentry
=
dget
(
path
->
dentry
)
;
p
ath_get
(
path
);
p
->
path
=
*
path
;
p
->
dir
=
parent
;
p
->
owner
=
sp
;
atomic_inc
(
&
sp
->
so_count
);
...
...
@@ -1944,8 +1944,8 @@ int nfs4_do_close(struct path *path, struct nfs4_state *state, int wait)
calldata
->
res
.
seqid
=
calldata
->
arg
.
seqid
;
calldata
->
res
.
server
=
server
;
calldata
->
res
.
seq_res
.
sr_slotid
=
NFS4_MAX_SLOT_TABLE
;
calldata
->
path
.
mnt
=
mntget
(
path
->
mnt
);
calldata
->
path
.
dentry
=
dget
(
path
->
dentry
)
;
path_get
(
path
);
calldata
->
path
=
*
path
;
msg
.
rpc_argp
=
&
calldata
->
arg
,
msg
.
rpc_resp
=
&
calldata
->
res
,
...
...
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