Whamcloud - gitweb
ext2fs_get_device_size: Fix error handling
authorTheodore Ts'o <tytso@mit.edu>
Tue, 20 Jan 2009 18:37:47 +0000 (13:37 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 20 Jan 2009 18:37:47 +0000 (13:37 -0500)
commit9f7a1fc936497d5ab1ebe88baa704e91880849cc
treeebba0cc1da75c09ff17bfa1b940328567d46a2a7
parentbeab8de477110970785077fb3204f171d3fcc485
ext2fs_get_device_size: Fix error handling

The previous patch would return EFBIG for any failure called from
ext2fs_get_device_size2().  (I didn't merge this fix with the
preceeding commit to allow merges to happen more easily.)

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