r17098: Samba3 now cleanly passes Samba4 RAW-LOCK torture
[samba.git] / source3 / smbd / close.c
index 8a63d3b227b318dd0c30e898cf10d38df100ec7a..08e4a24a56288a2bd366a89b1bcf3cf12f13e4f5 100644 (file)
@@ -268,8 +268,6 @@ static int close_normal_file(files_struct *fsp, enum file_close_type close_type)
        int err = 0;
        int err1 = 0;
 
-       remove_pending_lock_requests_by_fid(fsp);
-
        if (fsp->aio_write_behind) {
                /*
                 * If we're finishing write behind on a close we can get a write