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-5592 ofd: fix incorrect check for NULL
[fs/lustre-release.git]
/
lustre
/
ofd
/
ofd_objects.c
diff --git
a/lustre/ofd/ofd_objects.c
b/lustre/ofd/ofd_objects.c
index
9ce41e4
..
b6fcd4a
100644
(file)
--- a/
lustre/ofd/ofd_objects.c
+++ b/
lustre/ofd/ofd_objects.c
@@
-67,7
+67,7
@@
int ofd_version_get_check(struct ofd_thread_info *info,
LASSERT(ofd_object_exists(fo));
- if (info->fti_exp)
+ if (info->fti_exp
== NULL
)
RETURN(0);
curr_version = dt_version_get(info->fti_env, ofd_object_child(fo));