Skip to content

Commit

Permalink
removing guard against posting directories being removed.
Browse files Browse the repository at this point in the history
formerly there were no posts for directories, but last winter
it changed, so now that there are directories we need to stop
filtering out such posts.
  • Loading branch information
petersilva committed Jul 18, 2024
1 parent 7a3249e commit 88dda9d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libsr3shim.c
Original file line number Diff line number Diff line change
Expand Up @@ -799,10 +799,6 @@ int unlinkat(int dirfd, const char *path, int flags)
if (status == -1)
return status;

if (!stat_failed && S_ISDIR(sb.st_mode)) {
sr_shimdebug_msg(1, "unlinkat %s dirfd=%i skipping directory\n", path, dirfd);
return status;
}
if (dirfd == AT_FDCWD)
return (shimpost(path, status));

Expand Down

0 comments on commit 88dda9d

Please sign in to comment.