aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2018-07-25 06:34:45 +0000
committerChristoph Hellwig <[email protected]>2018-07-25 11:14:04 +0000
commit405a7519607e7a364114896264440c0f87b325c0 (patch)
tree4427e017e329c90c63354ed107dae26b17e167d1 /lib/debugobjects.c
parentnvmet: fixup crash on NULL device path (diff)
downloadkernel-405a7519607e7a364114896264440c0f87b325c0.tar.gz
kernel-405a7519607e7a364114896264440c0f87b325c0.zip
nvmet: only check for filebacking on -ENOTBLK
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 <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions