projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f10789e
)
orangefs: eliminate needless variable assignments
author
Mike Marshall
<hubcap@omnibond.com>
Wed, 3 Jul 2019 21:26:44 +0000
(21:26 +0000)
committer
Mike Marshall
<hubcap@omnibond.com>
Thu, 11 Jul 2019 16:53:02 +0000
(12:53 -0400)
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 80f06ee794c569f86b943c093d8971a4c3eafcc4..86f63e014ffbd53f5c98c2ec92e85e515d9639de 100644
(file)
--- a/
fs/orangefs/file.c
+++ b/
fs/orangefs/file.c
@@
-134,7
+134,6
@@
populate_shared_memory:
*/
if (ret == -EAGAIN && op_state_purged(new_op)) {
orangefs_bufmap_put(buffer_index);
- buffer_index = -1;
if (type == ORANGEFS_IO_WRITE)
iov_iter_revert(iter, total_size);
gossip_debug(GOSSIP_FILE_DEBUG,
@@
-262,7
+261,6
@@
out:
"%s(%pU): PUT buffer_index %d\n",
__func__, handle, buffer_index);
}
- buffer_index = -1;
}
op_release(new_op);
return ret;