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-11971 utils: Send file creation time to clients
[fs/lustre-release.git]
/
lustre
/
utils
/
liblustreapi_layout.c
diff --git
a/lustre/utils/liblustreapi_layout.c
b/lustre/utils/liblustreapi_layout.c
index
c2cd0ad
..
5dfd6f4
100644
(file)
--- a/
lustre/utils/liblustreapi_layout.c
+++ b/
lustre/utils/liblustreapi_layout.c
@@
-3426,7
+3426,9
@@
int llapi_get_lum_file_fd(int dir_fd, const char *fname, __u64 *valid,
if (rc)
return rc;
- *valid = lmd->lmd_flags;
+ if (valid)
+ *valid = lmd->lmd_flags;
+
if (statx)
memcpy(statx, &lmd->lmd_stx, sizeof(*statx));