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
0f9f95e0
Commit
0f9f95e0
authored
Jul 08, 2007
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NFSv4: Clean up confirmation of sequence ids...
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
412c77ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
fs/nfs/nfs4proc.c
fs/nfs/nfs4proc.c
+3
-2
No files found.
fs/nfs/nfs4proc.c
View file @
0f9f95e0
...
...
@@ -574,8 +574,8 @@ static void nfs4_open_confirm_done(struct rpc_task *task, void *calldata)
sizeof
(
data
->
o_res
.
stateid
.
data
));
renew_lease
(
data
->
o_res
.
server
,
data
->
timestamp
);
}
nfs_increment_open_seqid
(
data
->
rpc_status
,
data
->
c_arg
.
seqid
);
nfs_confirm_seqid
(
&
data
->
owner
->
so_seqid
,
data
->
rpc_status
);
nfs_increment_open_seqid
(
data
->
rpc_status
,
data
->
c_arg
.
seqid
);
}
static
void
nfs4_open_confirm_release
(
void
*
calldata
)
...
...
@@ -674,6 +674,8 @@ static void nfs4_open_done(struct rpc_task *task, void *calldata)
data
->
rpc_status
=
-
ENOTDIR
;
}
renew_lease
(
data
->
o_res
.
server
,
data
->
timestamp
);
if
(
!
(
data
->
o_res
.
rflags
&
NFS4_OPEN_RESULT_CONFIRM
))
nfs_confirm_seqid
(
&
data
->
owner
->
so_seqid
,
0
);
}
nfs_increment_open_seqid
(
data
->
rpc_status
,
data
->
o_arg
.
seqid
);
}
...
...
@@ -748,7 +750,6 @@ static int _nfs4_proc_open(struct nfs4_opendata *data)
if
(
status
!=
0
)
return
status
;
}
nfs_confirm_seqid
(
&
data
->
owner
->
so_seqid
,
0
);
if
(
!
(
o_res
->
f_attr
->
valid
&
NFS_ATTR_FATTR
))
return
server
->
nfs_client
->
rpc_ops
->
getattr
(
server
,
&
o_res
->
fh
,
o_res
->
f_attr
);
return
0
;
...
...
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