aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorAndrew Morton <[email protected]>2008-09-13 09:33:25 +0000
committerLinus Torvalds <[email protected]>2008-09-13 21:41:52 +0000
commit8d99f83b9478768d3a8d7d1bcd9bd182c75a0447 (patch)
tree5ccc59694c9dc6dfad58c2e22463f1db55df8825 /security/selinux/hooks.c
parentspi_s3c24xx: fix section warning (diff)
downloadkernel-8d99f83b9478768d3a8d7d1bcd9bd182c75a0447.tar.gz
kernel-8d99f83b9478768d3a8d7d1bcd9bd182c75a0447.zip
rescan_partitions(): make device capacity errors non-fatal
Herton Krzesinski reports that the error-checking changes in 04ebd4aee52b06a2c38127d9208546e5b96f3a19 ("block/ioctl.c and fs/partition/check.c: check value returned by add_partition") cause his buggy USB camera to no longer mount. "The camera is an Olympus X-840. The original issue comes from the camera itself: its format program creates a partition with an off by one error". Buggy devices happen. It is better for the kernel to warn and to proceed with the mount. Reported-by: Herton Ronaldo Krzesinski <[email protected]> Cc: Abdel Benamrouche <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Alan Stern <[email protected]> Cc: David Brownell <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions