rbd: minor cleanups in rbd_add()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | rbd: have rbd_get_client() return a rbd_clientdrivers/ | +12 | 0 replies | |
| 2/3 | rbd: reduce memory used for rbd_dev fieldsdrivers/ | +2 | 0 replies | |
| 3/3 | rbd: simplify error handling in rbd_add()drivers/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] rbd: minor cleanups in rbd_add()
This series affects rbd_add(). It calls rbd_get_client(), and by making that function return a client pointer it makes it more obvious that the client pointer is getting assigned. It also reduces the amount of memory allocated to hold the monitor address and options passed from the user. And it cleans up the error handling path in that function.
-Alex