cifs: minor comment cleanup
authorSteve French <stfrench@microsoft.com>
Wed, 17 Jan 2024 22:56:05 +0000 (16:56 -0600)
committerSteve French <stfrench@microsoft.com>
Sun, 28 Apr 2024 06:24:52 +0000 (01:24 -0500)
minor comment cleanup and trivial camelCase removal

Reviewed-by: Bharath SM <bharathsm@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/readdir.c

index 56033e4e4bae9ede54cc2cbcf74802efe1b30597..47f5a82bc2507d457f0ddd8d67b7c1d36a4fc09a 100644 (file)
@@ -647,10 +647,10 @@ static int cifs_entry_is_dot(struct cifs_dirent *de, bool is_unicode)
 static int is_dir_changed(struct file *file)
 {
        struct inode *inode = file_inode(file);
-       struct cifsInodeInfo *cifsInfo = CIFS_I(inode);
+       struct cifsInodeInfo *cifs_inode_info = CIFS_I(inode);
 
-       if (cifsInfo->time == 0)
-               return 1; /* directory was changed, perhaps due to unlink */
+       if (cifs_inode_info->time == 0)
+               return 1; /* directory was changed, e.g. unlink or new file */
        else
                return 0;