fd-tracker: add the unlink operation to fs handles
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 23 Nov 2019 00:08:18 +0000 (19:08 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 23 Nov 2019 01:11:40 +0000 (20:11 -0500)
commit9d16fc7fa401926b800c18124756d75b11b5b806
tree0381a0be185d865b7566117eac49c50c776e2d5e
parent9ca3e8a2147b1d8d387ab38f54cca5f3082971cd
fd-tracker: add the unlink operation to fs handles

The unlink method allows user to unlink the file refered-to by
an fs_handle. As indicated in the comments, the unlink operation
leverages the lttng_inode to ensure the actual unlink system call
is only performed when the last reference to an lttng_inode is
released by an fs_handle.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/fd-tracker/fd-tracker.c
src/common/fd-tracker/fd-tracker.h
This page took 0.033984 seconds and 4 git commands to generate.