Whamcloud - gitweb
libext2fs: fix error handling for ext2fs_sync_device()
authorTheodore Ts'o <tytso@mit.edu>
Thu, 27 Jul 2017 23:41:22 +0000 (19:41 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 27 Jul 2017 23:41:22 +0000 (19:41 -0400)
commitde26ef4f87c55b291e284c3a644e0cb2cca62352
tree017926a600fc942761ced774118f3d5abe47450c
parentd7f373b4d627117327b0976bb6fe9d6f38e37163
libext2fs: fix error handling for ext2fs_sync_device()

Return the proper error code instead of -1.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/flushb.c