aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAkira Fujita <[email protected]>2009-11-23 07:25:48 -0500
committerTheodore Ts'o <[email protected]>2009-11-23 07:25:48 -0500
commitf868a48d06f8886cb0367568a12367fa4f21ea0d (patch)
tree9b15c2fa850f6c34589f80f8e41fad095aa04c43 /scripts
parent503358ae01b70ce6909d19dd01287093f6b6271c (diff)
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 <[email protected]> Signed-off-by: "Theodore Ts'o" <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions