Project

General

Profile

Actions

Cleanup #19274

closed

src/tools/rbd/action/Kernel.cc: ceph.git does not exist

Added by Shinobu Kinjo about 7 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

283 static int do_kernel_map(const char *poolname, const char *imgname,
284 const char *snapname)
285 {
286 #if defined(WITH_KRBD)
287 struct krbd_ctx *krbd;
288 std::ostringstream oss;
289 char *devnode;
290 int r;
291
292 r = krbd_create_from_context(g_ceph_context, &krbd);
293 if (r < 0)
294 return r;
295
296 for (std::map<std::string, std::string>::iterator it = map_options.begin();
297 it != map_options.end(); ) {
298 // for compatibility with < 3.7 kernels, assume that rw is on by
299 // default and omit it even if it was specified by the user
300 // (see ceph.git commit fb0f1986449b)

``ceph.git`` needs to be updated appropriately. Because it does not exist.

Actions

Also available in: Atom PDF