git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47a2c67
)
vfs_gpfs: Log failed gpfs_set_share call as error
author
Christof Schmitt
<cs@samba.org>
Mon, 6 Jan 2020 21:52:14 +0000
(14:52 -0700)
committer
Jeremy Allison
<jra@samba.org>
Wed, 8 Jan 2020 00:01:37 +0000
(
00:01
+0000)
Any other error code from gpfs_set_share should never happen. Print a
error message in case this is ever encountered.
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_gpfs.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_gpfs.c
b/source3/modules/vfs_gpfs.c
index 959d7b5fe200db04243b88c4fe0dca9534d4b0b3..e31247c65cfd7885167b2cc5a76e0f755eaebdf1 100644
(file)
--- a/
source3/modules/vfs_gpfs.c
+++ b/
source3/modules/vfs_gpfs.c
@@
-147,7
+147,7
@@
static int set_gpfs_sharemode(files_struct *fsp, uint32_t access_mask,
fsp->conn->connectpath,
fsp->fsp_name->base_name);
} else {
- D
EBUG(10, ("gpfs_set_share failed: %s\n", strerror(errno)
));
+ D
BG_ERR("gpfs_set_share failed: %s\n", strerror(errno
));
}
return result;