Commit 250eec9e authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

Documentation/hdio: fix up obscure bd_contains references

bd_contains is an implementation detail and should not be mentioned in
a userspace API documentation.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent f56753ac
...@@ -181,7 +181,7 @@ HDIO_SET_UNMASKINTR ...@@ -181,7 +181,7 @@ HDIO_SET_UNMASKINTR
error return: error return:
- EINVAL (bdev != bdev->bd_contains) (not sure what this means) - EINVAL Called on a partition instead of the whole disk device
- EACCES Access denied: requires CAP_SYS_ADMIN - EACCES Access denied: requires CAP_SYS_ADMIN
- EINVAL value out of range [0 1] - EINVAL value out of range [0 1]
- EBUSY Controller busy - EBUSY Controller busy
...@@ -231,7 +231,7 @@ HDIO_SET_MULTCOUNT ...@@ -231,7 +231,7 @@ HDIO_SET_MULTCOUNT
error return: error return:
- EINVAL (bdev != bdev->bd_contains) (not sure what this means) - EINVAL Called on a partition instead of the whole disk device
- EACCES Access denied: requires CAP_SYS_ADMIN - EACCES Access denied: requires CAP_SYS_ADMIN
- EINVAL value out of range supported by disk. - EINVAL value out of range supported by disk.
- EBUSY Controller busy or blockmode already set. - EBUSY Controller busy or blockmode already set.
...@@ -295,7 +295,7 @@ HDIO_GET_IDENTITY ...@@ -295,7 +295,7 @@ HDIO_GET_IDENTITY
the ATA specification. the ATA specification.
error returns: error returns:
- EINVAL (bdev != bdev->bd_contains) (not sure what this means) - EINVAL Called on a partition instead of the whole disk device
- ENOMSG IDENTIFY DEVICE information not available - ENOMSG IDENTIFY DEVICE information not available
notes: notes:
...@@ -355,7 +355,7 @@ HDIO_SET_KEEPSETTINGS ...@@ -355,7 +355,7 @@ HDIO_SET_KEEPSETTINGS
error return: error return:
- EINVAL (bdev != bdev->bd_contains) (not sure what this means) - EINVAL Called on a partition instead of the whole disk device
- EACCES Access denied: requires CAP_SYS_ADMIN - EACCES Access denied: requires CAP_SYS_ADMIN
- EINVAL value out of range [0 1] - EINVAL value out of range [0 1]
- EBUSY Controller busy - EBUSY Controller busy
...@@ -1055,7 +1055,7 @@ HDIO_SET_32BIT ...@@ -1055,7 +1055,7 @@ HDIO_SET_32BIT
error return: error return:
- EINVAL (bdev != bdev->bd_contains) (not sure what this means) - EINVAL Called on a partition instead of the whole disk device
- EACCES Access denied: requires CAP_SYS_ADMIN - EACCES Access denied: requires CAP_SYS_ADMIN
- EINVAL value out of range [0 3] - EINVAL value out of range [0 3]
- EBUSY Controller busy - EBUSY Controller busy
...@@ -1085,7 +1085,7 @@ HDIO_SET_NOWERR ...@@ -1085,7 +1085,7 @@ HDIO_SET_NOWERR
error return: error return:
- EINVAL (bdev != bdev->bd_contains) (not sure what this means) - EINVAL Called on a partition instead of the whole disk device
- EACCES Access denied: requires CAP_SYS_ADMIN - EACCES Access denied: requires CAP_SYS_ADMIN
- EINVAL value out of range [0 1] - EINVAL value out of range [0 1]
- EBUSY Controller busy - EBUSY Controller busy
...@@ -1113,7 +1113,7 @@ HDIO_SET_DMA ...@@ -1113,7 +1113,7 @@ HDIO_SET_DMA
error return: error return:
- EINVAL (bdev != bdev->bd_contains) (not sure what this means) - EINVAL Called on a partition instead of the whole disk device
- EACCES Access denied: requires CAP_SYS_ADMIN - EACCES Access denied: requires CAP_SYS_ADMIN
- EINVAL value out of range [0 1] - EINVAL value out of range [0 1]
- EBUSY Controller busy - EBUSY Controller busy
...@@ -1141,7 +1141,7 @@ HDIO_SET_PIO_MODE ...@@ -1141,7 +1141,7 @@ HDIO_SET_PIO_MODE
error return: error return:
- EINVAL (bdev != bdev->bd_contains) (not sure what this means) - EINVAL Called on a partition instead of the whole disk device
- EACCES Access denied: requires CAP_SYS_ADMIN - EACCES Access denied: requires CAP_SYS_ADMIN
- EINVAL value out of range [0 255] - EINVAL value out of range [0 255]
- EBUSY Controller busy - EBUSY Controller busy
...@@ -1237,7 +1237,7 @@ HDIO_SET_WCACHE ...@@ -1237,7 +1237,7 @@ HDIO_SET_WCACHE
error return: error return:
- EINVAL (bdev != bdev->bd_contains) (not sure what this means) - EINVAL Called on a partition instead of the whole disk device
- EACCES Access denied: requires CAP_SYS_ADMIN - EACCES Access denied: requires CAP_SYS_ADMIN
- EINVAL value out of range [0 1] - EINVAL value out of range [0 1]
- EBUSY Controller busy - EBUSY Controller busy
...@@ -1265,7 +1265,7 @@ HDIO_SET_ACOUSTIC ...@@ -1265,7 +1265,7 @@ HDIO_SET_ACOUSTIC
error return: error return:
- EINVAL (bdev != bdev->bd_contains) (not sure what this means) - EINVAL Called on a partition instead of the whole disk device
- EACCES Access denied: requires CAP_SYS_ADMIN - EACCES Access denied: requires CAP_SYS_ADMIN
- EINVAL value out of range [0 254] - EINVAL value out of range [0 254]
- EBUSY Controller busy - EBUSY Controller busy
...@@ -1305,7 +1305,7 @@ HDIO_SET_ADDRESS ...@@ -1305,7 +1305,7 @@ HDIO_SET_ADDRESS
error return: error return:
- EINVAL (bdev != bdev->bd_contains) (not sure what this means) - EINVAL Called on a partition instead of the whole disk device
- EACCES Access denied: requires CAP_SYS_ADMIN - EACCES Access denied: requires CAP_SYS_ADMIN
- EINVAL value out of range [0 2] - EINVAL value out of range [0 2]
- EBUSY Controller busy - EBUSY Controller busy
...@@ -1331,7 +1331,7 @@ HDIO_SET_IDE_SCSI ...@@ -1331,7 +1331,7 @@ HDIO_SET_IDE_SCSI
error return: error return:
- EINVAL (bdev != bdev->bd_contains) (not sure what this means) - EINVAL Called on a partition instead of the whole disk device
- EACCES Access denied: requires CAP_SYS_ADMIN - EACCES Access denied: requires CAP_SYS_ADMIN
- EINVAL value out of range [0 1] - EINVAL value out of range [0 1]
- EBUSY Controller busy - EBUSY Controller busy
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment