Skip to content

Commit

Permalink
cifs: minor comment cleanup
Browse files Browse the repository at this point in the history
minor comment cleanup and trivial camelCase removal

Reviewed-by: Bharath SM <[email protected]>
Signed-off-by: Steve French <[email protected]>
  • Loading branch information
Steve French committed Jan 18, 2024
1 parent d8392c2 commit 0b549c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/smb/client/readdir.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 0b549c4

Please sign in to comment.