Skip to content

Commit 0c3813d

Browse files
bharathsm-mssmfrench
authored andcommitted
smb: client: fix spellings in comments
correct spellings in comments Signed-off-by: Bharath SM <[email protected]> Acked-by: Paulo Alcantara (Red Hat) <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 6976c7a commit 0c3813d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fs/smb/client/reparse.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ static int detect_directory_symlink_target(struct cifs_sb_info *cifs_sb,
278278
}
279279

280280
/*
281-
* For absolute symlinks it is not possible to determinate
281+
* For absolute symlinks it is not possible to determine
282282
* if it should point to directory or file.
283283
*/
284284
if (symname[0] == '/') {

fs/smb/client/smb1ops.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ smb_set_file_info(struct inode *inode, const char *full_path,
10051005
rc = -EOPNOTSUPP;
10061006
}
10071007

1008-
/* Fallback to SMB_COM_SETATTR command when absolutelty needed. */
1008+
/* Fallback to SMB_COM_SETATTR command when absolutely needed. */
10091009
if (rc == -EOPNOTSUPP) {
10101010
cifs_dbg(FYI, "calling SetInformation since SetPathInfo for attrs/times not supported by this server\n");
10111011
rc = SMBSetInformation(xid, tcon, full_path,
@@ -1039,7 +1039,7 @@ smb_set_file_info(struct inode *inode, const char *full_path,
10391039
cifsFileInfo_put(open_file);
10401040

10411041
/*
1042-
* Setting the read-only bit is not honered on non-NT servers when done
1042+
* Setting the read-only bit is not honored on non-NT servers when done
10431043
* via open-semantics. So for setting it, use SMB_COM_SETATTR command.
10441044
* This command works only after the file is closed, so use it only when
10451045
* operation was called without the filehandle.

0 commit comments

Comments
 (0)