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-6210 fid: Change positional struct initializers to C99
[fs/lustre-release.git]
/
lustre
/
fid
/
lproc_fid.c
diff --git
a/lustre/fid/lproc_fid.c
b/lustre/fid/lproc_fid.c
index
3fc2481
..
11ae1b6
100644
(file)
--- a/
lustre/fid/lproc_fid.c
+++ b/
lustre/fid/lproc_fid.c
@@
-63,7
+63,9
@@
static int
lprocfs_fid_write_common(const char __user *buffer, size_t count,
struct lu_seq_range *range)
{
- struct lu_seq_range tmp = { 0, };
+ struct lu_seq_range tmp = {
+ .lsr_start = 0,
+ };
char kernbuf[MAX_FID_RANGE_STRLEN];
ENTRY;