projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ebcc3f
)
orangefs: avoid freeing a slot twice in wait_for_direct_io()
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 6 Feb 2016 19:59:38 +0000
(14:59 -0500)
committer
Mike Marshall
<hubcap@omnibond.com>
Fri, 12 Feb 2016 20:05:32 +0000
(15:05 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/file.c
patch
|
blob
|
history
diff --git
a/fs/orangefs/file.c
b/fs/orangefs/file.c
index
d865b58
..
40b3805
100644
(file)
--- a/
fs/orangefs/file.c
+++ b/
fs/orangefs/file.c
@@
-210,6
+210,7
@@
populate_shared_memory:
*/
if (ret == -EAGAIN && op_state_purged(new_op)) {
orangefs_bufmap_put(bufmap, buffer_index);
+ buffer_index = -1;
gossip_debug(GOSSIP_FILE_DEBUG,
"%s:going to repopulate_shared_memory.\n",
__func__);