Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bacula Community Edition
Bacula Community
Commits
7ea3d139
Commit
7ea3d139
authored
Jun 28, 2022
by
Eric Bollengier
Browse files
Fix #9293 Incorrect debug message with NODUMP flag
parent
62ea83ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
bacula/src/findlib/find_one.c
View file @
7ea3d139
...
...
@@ -241,9 +241,9 @@ static bool no_dump(JCR *jcr, FF_PKT *ff_pkt)
int
ioctl_ret
=
ioctl
(
fd
,
FS_IOC_GETFLAGS
,
&
attr
);
if
(
ioctl_ret
<
0
)
{
if
(
errno
==
ENOTTY
)
{
Dmsg2
(
50
,
"Failed to check for NODUMP flag for file: %s er: %d, "
Dmsg2
(
50
,
"Failed to check for NODUMP flag for file: %s er
rno
: %d, "
"probably because of wrong filesystem used.
\n
"
,
errno
,
ff_pkt
->
fname
);
ff_pkt
->
fname
,
errno
);
}
else
{
Dmsg2
(
50
,
"Failed to send Getflags IOCTL for: %s err: %d
\n
"
,
ff_pkt
->
fname
,
errno
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment