]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
smb: client: fix spellings in comments
authorBharath SM <bharathsm@microsoft.com>
Mon, 1 Sep 2025 18:32:24 +0000 (00:02 +0530)
committerSteve French <stfrench@microsoft.com>
Wed, 3 Sep 2025 01:37:17 +0000 (20:37 -0500)
correct spellings in comments

Signed-off-by: Bharath SM <bharathsm@microsoft.com>
Acked-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/reparse.c
fs/smb/client/smb1ops.c

index 7869cec58f529a1afda6ecb8bb062bf8438994a1..10c84c095fe783d8f8783f7740b54f885ca76e35 100644 (file)
@@ -278,7 +278,7 @@ static int detect_directory_symlink_target(struct cifs_sb_info *cifs_sb,
        }
 
        /*
-        * For absolute symlinks it is not possible to determinate
+        * For absolute symlinks it is not possible to determine
         * if it should point to directory or file.
         */
        if (symname[0] == '/') {
index 893a1ea8c000acb5617a8eb9b78444f0bdb8430e..a02d41d1ce4a3fd78a658495c36d75526131b6ea 100644 (file)
@@ -1005,7 +1005,7 @@ smb_set_file_info(struct inode *inode, const char *full_path,
                        rc = -EOPNOTSUPP;
        }
 
-       /* Fallback to SMB_COM_SETATTR command when absolutelty needed. */
+       /* Fallback to SMB_COM_SETATTR command when absolutely needed. */
        if (rc == -EOPNOTSUPP) {
                cifs_dbg(FYI, "calling SetInformation since SetPathInfo for attrs/times not supported by this server\n");
                rc = SMBSetInformation(xid, tcon, full_path,
@@ -1039,7 +1039,7 @@ set_via_filehandle:
                cifsFileInfo_put(open_file);
 
        /*
-        * Setting the read-only bit is not honered on non-NT servers when done
+       * Setting the read-only bit is not honored on non-NT servers when done
         * via open-semantics. So for setting it, use SMB_COM_SETATTR command.
         * This command works only after the file is closed, so use it only when
         * operation was called without the filehandle.