diff options
author | Niels de Vos <ndevos@redhat.com> | 2014-04-24 13:38:31 +0200 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2014-04-27 10:51:11 -0700 |
commit | 76ab97169f63da78c9e83daf040d7b09766497cf (patch) | |
tree | 2866560d4673caa3253021faa717b83a2d6e86a6 /tests/bugs/bug-858215.t | |
parent | f77e5b6ebe5d702065844db141ebd38ff7802168 (diff) |
fuse: minor improvements for readdir(plus)
Instead of using 'int' for the sizes, use a 'size_t' as it is more
correct. Save the size of a fuse_dirent in a temporary variable so that
strlen() on the filename is called fewer times.
Also correcting some typos in comments.
Change-Id: Ic62d9d729a86a1a6a53ed1354fce153bac01d860
BUG: 1074023
Reported-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/7547
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'tests/bugs/bug-858215.t')
0 files changed, 0 insertions, 0 deletions