git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
609143a
)
smbd: Avoid duplicate assignments
author
Volker Lendecke
<vl@samba.org>
Mon, 26 Aug 2019 14:45:14 +0000
(16:45 +0200)
committer
Jeremy Allison
<jra@samba.org>
Tue, 17 Sep 2019 22:49:38 +0000
(22:49 +0000)
remove_share_mode_lease() already does this
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/locking/locking.c
patch
|
blob
|
history
diff --git
a/source3/locking/locking.c
b/source3/locking/locking.c
index e7b8fd3a503425cf7b924a71a296b00f6f8c3fd0..6e1e577b4688f90d5f0c5597e686c6292cc57bb3 100644
(file)
--- a/
source3/locking/locking.c
+++ b/
source3/locking/locking.c
@@
-889,7
+889,6
@@
bool del_share_mode(struct share_mode_lock *lck, files_struct *fsp)
remove_share_mode_lease(lck->data, e);
*e = lck->data->share_modes[lck->data->num_share_modes-1];
lck->data->num_share_modes -= 1;
- lck->data->modified = True;
return True;
}
@@
-949,7
+948,6
@@
bool remove_share_oplock(struct share_mode_lock *lck, files_struct *fsp)
}
remove_share_mode_lease(d, e);
- d->modified = True;
return true;
}