diff options
author | 2019-04-02 14:52:47 +0300 | |
---|---|---|
committer | 2019-04-05 08:07:58 +0200 | |
commit | e84c2091a45228b62867ec0565898ef5404706a2 (patch) | |
tree | aa13398b8e5af6589c508b70349f66f39404936b /fs/stack.c | |
parent | nvme-pci: tidy up nvme_map_data (diff) | |
download | wireguard-linux-e84c2091a45228b62867ec0565898ef5404706a2.tar.xz wireguard-linux-e84c2091a45228b62867ec0565898ef5404706a2.zip |
nvmet: never fail double namespace enablement
In case we create N namespaces while N < NVMET_MAX_NAMESPACES, we can
perform "echo 1 > <nsid>/enable" as much as we want. In case N ==
NVMET_MAX_NAMESPACES we fail. Make sure we have the same flow for any N.
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions