git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3643262
)
s3:smbstatus don't check if process exists twice
author
Christian Ambach
<ambi@samba.org>
Fri, 13 Jul 2012 15:10:05 +0000
(17:10 +0200)
committer
Christian Ambach
<ambi@samba.org>
Wed, 18 Jul 2012 13:49:52 +0000
(15:49 +0200)
is_valid_share_mode_entry() already calls serverid_exists which calls process_exists()
source3/utils/status.c
patch
|
blob
|
history
diff --git
a/source3/utils/status.c
b/source3/utils/status.c
index 516b551c3fa6863f0cc267291109000a2a1b18e1..b87f64c15933395d57e711715ca76f46797fd5aa 100644
(file)
--- a/
source3/utils/status.c
+++ b/
source3/utils/status.c
@@
-124,10
+124,6
@@
static void print_share_mode(const struct share_mode_entry *e,
return;
}
- if (!process_exists(e->pid)) {
- return;
- }
-
if (count==0) {
d_printf("Locked files:\n");
d_printf("Pid Uid DenyMode Access R/W Oplock SharePath Name Time\n");