projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pnfs: only tear down lsegs that precede seqid in LAYOUTRETURN args
[linux-2.6-block.git]
/
fs
/
nfs
/
callback_proc.c
diff --git
a/fs/nfs/callback_proc.c
b/fs/nfs/callback_proc.c
index 7c9fbf504f076a3df2990564ee22465a27e95bf2..aaa2e8d3df6f214d92e8ecd24a48c6e4eb029e69 100644
(file)
--- a/
fs/nfs/callback_proc.c
+++ b/
fs/nfs/callback_proc.c
@@
-217,7
+217,8
@@
static u32 initiate_file_draining(struct nfs_client *clp,
}
if (pnfs_mark_matching_lsegs_return(lo, &free_me_list,
- &args->cbl_range)) {
+ &args->cbl_range,
+ be32_to_cpu(args->cbl_stateid.seqid))) {
rv = NFS4_OK;
goto unlock;
}