OSDN Git Service

uapi nbd: improve doc links to userspace spec
authorEric Blake <eblake@redhat.com>
Mon, 10 Apr 2023 18:06:08 +0000 (13:06 -0500)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Apr 2023 01:15:11 +0000 (19:15 -0600)
commitdaf376a366fd2d469d66ab83dfdc074777462bab
tree13117b926d164f6c364cd9366a0d3f675658acbe
parentff53cd52d9bdbf4074d2bbe9b591729997780bd3
uapi nbd: improve doc links to userspace spec

The uapi <linux/nbd.h> header intentionally documents only the NBD
server features that the kernel module will utilize as a client.  But
while it already had one mention of skipped bits due to userspace
extensions, it did not actually direct the reader to the canonical
source to learn about those extensions.

While touching comments, fix an outdated reference that listed only
READ and WRITE as commands.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Link: https://lore.kernel.org/r/20230410180611.1051618-2-eblake@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/nbd.h