projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d24bab9
)
NFSv4: Initialise the NFSv4.1 slot table highest_used_slotid correctly
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 29 Oct 2012 20:48:40 +0000
(16:48 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 1 Nov 2012 16:02:03 +0000
(12:02 -0400)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index 8cfbac1a8d5e7df68347c415063b48ae13077bd7..091baab3eccf602fa8984acab1d64dd29ee5b14c 100644
(file)
--- a/
fs/nfs/nfs4proc.c
+++ b/
fs/nfs/nfs4proc.c
@@
-5677,7
+5677,7
@@
static void nfs4_add_and_init_slots(struct nfs4_slot_table *tbl,
tbl->slots = new;
tbl->max_slots = max_slots;
}
- tbl->highest_used_slotid =
-1; /* no slot is currently used */
+ tbl->highest_used_slotid =
NFS4_NO_SLOT;
for (i = 0; i < tbl->max_slots; i++)
tbl->slots[i].seq_nr = ivalue;
spin_unlock(&tbl->slot_tbl_lock);