s3:vfs:scannedonly: fix use of non-existent word (existant)
authorMichael Adam <obnox@samba.org>
Mon, 11 Jun 2012 15:47:58 +0000 (17:47 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 12 Jun 2012 05:21:43 +0000 (07:21 +0200)
source3/modules/vfs_scannedonly.c

index b43c6df9727265eb9ddd214ecb3af59e87fc0a45..c48c21a406f1b8ec5c44b7d2c5b471f9cf722426 100644 (file)
@@ -362,7 +362,7 @@ fullpath is a full path starting from / or a relative path to the
 current working directory
 shortname is the filename without directory components
 basename, is the directory without file name component
-allow_nonexistant return TRUE if stat() on the requested file fails
+allow_nonexistent return TRUE if stat() on the requested file fails
 recheck_time, the time in milliseconds to wait for the daemon to
 create a .scanned file
 recheck_tries, the number of tries to wait
@@ -375,7 +375,7 @@ static bool scannedonly_allow_access(vfs_handle_struct * handle,
                                     struct smb_filename *smb_fname,
                                     const char *shortname,
                                     const char *base_name,
-                                    int allow_nonexistant,
+                                    int allow_nonexistent,
                                     int recheck_time, int recheck_tries,
                                     int recheck_size, int loop)
 {
@@ -403,9 +403,9 @@ static bool scannedonly_allow_access(vfs_handle_struct * handle,
                if (retval != 0) {
                        /* failed to stat this file?!? --> hide it */
                        DEBUG(SCANNEDONLY_DEBUG,("no valid stat, return"
-                                                " allow_nonexistant=%d\n",
-                                                allow_nonexistant));
-                       return allow_nonexistant;
+                                                " allow_nonexistent=%d\n",
+                                                allow_nonexistent));
+                       return allow_nonexistent;
                }
        }
        if (!S_ISREG(smb_fname->st.st_ex_mode)) {