Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-3594 lfsck: repair inconsistent owner and multiple referenced cases
[fs/lustre-release.git]
/
lustre
/
target
/
out_lib.c
diff --git
a/lustre/target/out_lib.c
b/lustre/target/out_lib.c
index
c2d41f7
..
8ba1fd6
100644
(file)
--- a/
lustre/target/out_lib.c
+++ b/
lustre/target/out_lib.c
@@
-123,7
+123,8
@@
struct update_request *out_find_create_update_loc(struct thandle *th,
list_add_tail(&update->ur_list, &tu->tu_remote_update_list);
- thandle_get(th);
+ if (!tu->tu_only_remote_trans)
+ thandle_get(th);
RETURN(update);
}