[PATCH] vfs: remove outdated comment

Michael Adam obnox at samba.org
Wed Mar 2 21:24:21 UTC 2016


Review/push appreciated.

Thanks - Michael
-------------- next part --------------
From 1a786eefef5e2a0523baae1a57f3290a4948ce51 Mon Sep 17 00:00:00 2001
From: Michael Adam <obnox at samba.org>
Date: Wed, 2 Mar 2016 21:54:58 +0100
Subject: [PATCH] vfs: remove an outdate comment from the files_struct
 definition

Leases are implemented since a while...

Signed-off-by: Michael Adam <obnox at samba.org>
---
 source3/include/vfs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source3/include/vfs.h b/source3/include/vfs.h
index 9ea4e75..231eb83 100644
--- a/source3/include/vfs.h
+++ b/source3/include/vfs.h
@@ -254,7 +254,7 @@ typedef struct files_struct {
 	bool write_time_forced;
 
 	int oplock_type;
-	struct fsp_lease *lease; /* Not yet used. Placeholder for leases. */
+	struct fsp_lease *lease;
 	int sent_oplock_break;
 	struct tevent_timer *oplock_timeout;
 	struct lock_struct last_lock_failure;
-- 
2.5.0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160302/a14810b0/signature.sig>


More information about the samba-technical mailing list