Skip to content

Commit

Permalink
lxfs: added check for hard link in stat()
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Sep 30, 2024
1 parent e7c6b07 commit e0c6950
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/lxfs/src/stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ void lxfsStat(StatCommand *cmd) {
cmd->buffer.st_mode = S_IFLNK;
break;
case LXFS_DIR_TYPE_FILE:
case LXFS_DIR_TYPE_HARD_LINK:
default:
cmd->buffer.st_mode = S_IFREG;
}
Expand Down

0 comments on commit e0c6950

Please sign in to comment.