https://github.com/torvalds/linux
Revision 405a7519607e7a364114896264440c0f87b325c0 authored by Hannes Reinecke on 25 July 2018, 06:34:45 UTC, committed by Christoph Hellwig on 25 July 2018, 11:14:04 UTC
We only need to check for a file-backed namespace if
nvmet_bdev_ns_enable() returns -ENOTBLK. For any other error
it's pointless as the open() error will remain the same.

Fixes: d5eff33e ("nvmet: add simple file backed ns support")
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
1 parent 5613d31
Raw File
Tip revision: 405a7519607e7a364114896264440c0f87b325c0 authored by Hannes Reinecke on 25 July 2018, 06:34:45 UTC
nvmet: only check for filebacking on -ENOTBLK
Tip revision: 405a751
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
back to top