Skip to content

Reject O_CREAT | O_EXCL before backend open side effects #1322

Description

@wdcui

The resolver currently invokes the backend open path before returning AlreadyExists for an existing O_CREAT|O_EXCL target. Backend-specific errors or side effects such as truncation can therefore occur before the exclusive-create result. Confirm the intended error precedence with the original fs author, then reject exclusive creation before backend open and add combined O_EXCL/O_TRUNC coverage. Deferred from #1318.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions