From 31ab49f173ddab8b431e3980e78468ab31e3c9bf Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 13 Sep 2013 13:49:20 +0200 Subject: smbd: Use remove_oplock() in close_normal_file remove_oplock is a wrapper around release_file_oplock. This streamlines the exports of oplock.c a bit. Reason for this patch: In a later patch I will add functionality to remove_oplock that is required in close_normal_file as well. Signed-off-by: Volker Lendecke Reviewed-by: David Disseldorp --- source3/smbd/close.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/close.c b/source3/smbd/close.c index f341c72952..6153066018 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -735,7 +735,7 @@ static NTSTATUS close_normal_file(struct smb_request *req, files_struct *fsp, /* Remove the oplock before potentially deleting the file. */ if(fsp->oplock_type) { - release_file_oplock(fsp); + remove_oplock(fsp); } /* If this is an old DOS or FCB open and we have multiple opens on -- cgit