Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
74
Issues
74
List
Boards
Labels
Milestones
Merge Requests
6
Merge Requests
6
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
darshan
darshan
Commits
4b63144a
Commit
4b63144a
authored
May 19, 2016
by
Glenn K. Lockwood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug that was preventing OST/MDT counts from being populated correctly
parent
64a4a226
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
darshan-runtime/lib/darshan-core.c
darshan-runtime/lib/darshan-core.c
+1
-1
No files found.
darshan-runtime/lib/darshan-core.c
View file @
4b63144a
...
...
@@ -985,7 +985,7 @@ static void add_entry(char* trailing_data, int* space_left, struct mntent *entry
ret_ost
=
ioctl
(
dirfd
(
mount_dir
),
LL_IOC_GETOBDCOUNT
,
&
n_ost
);
ret_mdt
=
ioctl
(
dirfd
(
mount_dir
),
LL_IOC_GETOBDCOUNT
,
&
n_mdt
);
if
(
ret_ost
<
0
||
ret_mdt
<
0
)
if
(
!
(
ret_ost
<
0
||
ret_mdt
<
0
)
)
{
mnt_data_array
[
mnt_data_count
].
fs_info
.
ost_count
=
n_ost
;
mnt_data_array
[
mnt_data_count
].
fs_info
.
mdt_count
=
n_mdt
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment