| commit | 7f5bbe286e02b0c7df72aba386b56af92b812dc3 | [log] [tgz] |
|---|---|---|
| author | Darrick J. Wong <djwong@kernel.org> | Tue Sep 12 12:39:52 2023 -0700 |
| committer | Carlos Maiolino <cem@kernel.org> | Thu Oct 05 14:57:20 2023 +0200 |
| tree | cd913ab97e9870b63f9e8db19026c00d773e3fa7 | |
| parent | 03582d3f3b45e6a6de5dabc30d7ae42baeea3da8 [diff] |
libxfs: use XFS_IGET_CREATE when creating new files Use this flag to check that newly allocated inodes are, in fact, unallocated. This matches the kernel, and prevents userspace programs from making latent corruptions worse by unintentionally crosslinking files. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Reviewed-by: Bill O'Donnell <bodonnel@redhat.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>