projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: use `modprobe --remove` rather than `rmmod`
[lttng-tools.git]
/
src
/
common
/
fs-handle.c
diff --git
a/src/common/fs-handle.c
b/src/common/fs-handle.c
index ff081235cb8d6d2c3ecebf505963ec02fcf9d40d..46d9d7de5d322f2f82940c72c8eef2619b40e0ad 100644
(file)
--- a/
src/common/fs-handle.c
+++ b/
src/common/fs-handle.c
@@
-70,7
+70,7
@@
end:
LTTNG_HIDDEN
int fs_handle_truncate(struct fs_handle *handle, off_t offset)
{
LTTNG_HIDDEN
int fs_handle_truncate(struct fs_handle *handle, off_t offset)
{
-
int ret;
+ int ret;
const int fd = fs_handle_get_fd(handle);
if (fd < 0) {
const int fd = fs_handle_get_fd(handle);
if (fd < 0) {
@@
-85,9
+85,9
@@
end:
}
LTTNG_HIDDEN
}
LTTNG_HIDDEN
-
in
t fs_handle_seek(struct fs_handle *handle, off_t offset, int whence)
+
off_
t fs_handle_seek(struct fs_handle *handle, off_t offset, int whence)
{
{
-
in
t ret;
+
off_
t ret;
const int fd = fs_handle_get_fd(handle);
if (fd < 0) {
const int fd = fs_handle_get_fd(handle);
if (fd < 0) {
This page took
0.024759 seconds
and
4
git commands to generate.