projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
solaris: char dev size fixes
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index 9d42deb02d47dbab2866fcb9d2512409e60aa1b5..d05050647ddbbcc78b1b22d59c91e8f7444d7b43 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-78,7
+78,7
@@
static int extend_file(struct thread_data *td, struct fio_file *f)
}
}
#endif
}
}
#endif
-
+
if (!new_layout)
goto done;
if (!new_layout)
goto done;
@@
-233,7
+233,7
@@
static int file_size(struct thread_data *td, struct fio_file *f)
static int bdev_size(struct thread_data *td, struct fio_file *f)
{
static int bdev_size(struct thread_data *td, struct fio_file *f)
{
- unsigned long long bytes;
+ unsigned long long bytes
= 0
;
int r;
if (td->io_ops->open_file(td, f)) {
int r;
if (td->io_ops->open_file(td, f)) {
@@
-265,7
+265,7
@@
err:
static int char_size(struct thread_data *td, struct fio_file *f)
{
#ifdef FIO_HAVE_CHARDEV_SIZE
static int char_size(struct thread_data *td, struct fio_file *f)
{
#ifdef FIO_HAVE_CHARDEV_SIZE
- unsigned long long bytes;
+ unsigned long long bytes
= 0
;
int r;
if (td->io_ops->open_file(td, f)) {
int r;
if (td->io_ops->open_file(td, f)) {