diff options
author | Akira Fujita <a-fujita@rs.jp.nec.com> | 2009-11-23 07:25:48 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-11-23 07:25:48 -0500 |
commit | f868a48d06f8886cb0367568a12367fa4f21ea0d (patch) | |
tree | 9b15c2fa850f6c34589f80f8e41fad095aa04c43 /tools | |
parent | 503358ae01b70ce6909d19dd01287093f6b6271c (diff) | |
download | blackbird-op-linux-f868a48d06f8886cb0367568a12367fa4f21ea0d.tar.gz blackbird-op-linux-f868a48d06f8886cb0367568a12367fa4f21ea0d.zip |
ext4: fix the returned block count if EXT4_IOC_MOVE_EXT fails
If the EXT4_IOC_MOVE_EXT ioctl fails, the number of blocks that were
exchanged before the failure should be returned to the userspace
caller. Unfortunately, currently if the block size is not the same as
the page size, the returned block count that is returned is the
page-aligned block count instead of the actual block count. This
commit addresses this bug.
Signed-off-by: Akira Fujita <a-fujita@rs.jp.nec.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions