ntdll: Moved the check for removable file in load_dll to the server.
diff --git a/server/file.c b/server/file.c
index 6647138..050f723 100644
--- a/server/file.c
+++ b/server/file.c
@@ -319,6 +319,12 @@
     return get_unix_fd( file->fd );
 }
 
+struct file *grab_file_unless_removable( struct file *file )
+{
+    if (is_fd_removable( file->fd )) return NULL;
+    return (struct file *)grab_object( file );
+}
+
 /* extend a file beyond the current end of file */
 static int extend_file( struct file *file, file_pos_t new_size )
 {