diff options
| author | 2007-03-16 13:38:25 -0800 | |
|---|---|---|
| committer | 2007-03-16 19:25:05 -0700 | |
| commit | b74a2f0913694556a027795d2954d30523fac4c5 (patch) | |
| tree | c99e002949bc22db27efa4e635e1bbbf7138d1df /mm/backing-dev.c | |
| parent | [PATCH] swsusp: fix suspend when console is in VT_AUTO+KD_GRAPHICS mode (diff) | |
| download | wireguard-linux-b74a2f0913694556a027795d2954d30523fac4c5.tar.xz wireguard-linux-b74a2f0913694556a027795d2954d30523fac4c5.zip | |
[PATCH] fix rescan_partitions to return errors properly
The only error code which comes from the partition checkers is -1, when
they finds an EIO. As per the discussion, ENOMEM values were ignored,
as they might scare the users.
So, with the current code, we end up returning -1 and not EIO for the
ioctl() calls. Which doesn't give any clue to the user of what went
wrong.
Signed-off-by: Suzuki K P <suzuki@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions
