summaryrefslogtreecommitdiff
path: root/fs/smb/client/readdir.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2024-01-17 16:56:05 -0600
committerSteve French <stfrench@microsoft.com>2024-01-18 12:07:59 -0600
commit0b549c4f594167d7ef056393c6a06ac77f5690ff (patch)
tree6b9164b514f92ac0440d0ed8d68da23b4960b803 /fs/smb/client/readdir.c
parentd8392c203e84ec7daa2afecdb8f4db69bc32416a (diff)
cifs: minor comment cleanup
minor comment cleanup and trivial camelCase removal Reviewed-by: Bharath SM <bharathsm@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/readdir.c')
-rw-r--r--fs/smb/client/readdir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/smb/client/readdir.c b/fs/smb/client/readdir.c
index 056cae1ddcce..e24684112ab0 100644
--- a/fs/smb/client/readdir.c
+++ b/fs/smb/client/readdir.c
@@ -645,10 +645,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;