android_kernel_xiaomi_sm8350/fs/partitions
suzuki b74a2f0913 [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>
2007-03-16 19:25:05 -07:00
..
acorn.c
acorn.h
amiga.c [PATCH] Fix check_partition routines 2006-12-07 08:39:30 -08:00
amiga.h
atari.c [PATCH] Fix check_partition routines 2006-12-07 08:39:30 -08:00
atari.h
check.c [PATCH] fix rescan_partitions to return errors properly 2007-03-16 19:25:05 -07:00
check.h
efi.c
efi.h
ibm.c [PATCH] Fix check_partition routines 2006-12-07 08:39:30 -08:00
ibm.h
karma.c
karma.h
Kconfig [MIPS] Rename SNI_RM200_PCI to just SNI_RM preparing for more RM machines 2006-12-09 01:03:58 +00:00
ldm.c
ldm.h
mac.c
mac.h
Makefile
msdos.c Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 2007-02-11 11:37:45 -08:00
msdos.h
osf.c
osf.h
sgi.c [PARTITION]: Add whole_disk attribute. 2007-02-10 23:50:00 -08:00
sgi.h
sun.c [PARTITION]: Add whole_disk attribute. 2007-02-10 23:50:00 -08:00
sun.h
ultrix.c
ultrix.h