Implement shm object table
[lttng-ust.git] / libringbuffer / ring_buffer_abi.c
index fbf6df537f20de015467a5c416189b31710e0009..3279ccd9ffc8b6e624aa564b722c8f32bfec5b01 100644 (file)
@@ -241,7 +241,7 @@ long lib_ring_buffer_ioctl(struct file *filp, unsigned int cmd, unsigned long ar
                                 arg);
        }
        case RING_BUFFER_FLUSH:
-               lib_ring_buffer_switch_slow(buf, SWITCH_ACTIVE);
+               lib_ring_buffer_switch_slow(buf, SWITCH_ACTIVE, handle);
                return 0;
        default:
                return -ENOIOCTLCMD;
@@ -354,7 +354,7 @@ long lib_ring_buffer_compat_ioctl(struct file *filp, unsigned int cmd,
                return put_ulong(read_offset, arg);
        }
        case RING_BUFFER_FLUSH:
-               lib_ring_buffer_switch_slow(buf, SWITCH_ACTIVE);
+               lib_ring_buffer_switch_slow(buf, SWITCH_ACTIVE, handle);
                return 0;
        default:
                return -ENOIOCTLCMD;
This page took 0.023888 seconds and 4 git commands to generate.