diff options
| author | Scott Long <scottl@FreeBSD.org> | 2002-08-02 06:19:43 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2002-08-02 06:19:43 +0000 |
| commit | 678d5effd320faaa92878ae1e902472b943ba1c8 (patch) | |
| tree | 599abf683f40f8181a62c5265e5b51a96ca77cd2 /sys/fs | |
| parent | 1e7ce68ff4ecc38727c6f35c996432eca5078a4b (diff) | |
Notes
Diffstat (limited to 'sys/fs')
| -rw-r--r-- | sys/fs/udf/udf_vnops.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/fs/udf/udf_vnops.c b/sys/fs/udf/udf_vnops.c index 0222a74a40809..31f006fb096f7 100644 --- a/sys/fs/udf/udf_vnops.c +++ b/sys/fs/udf/udf_vnops.c @@ -965,7 +965,11 @@ lookloop: /* XXX Should we return an error on a bad fid? */ if (udf_checktag(&fid->tag, TAGID_FID)) - break; + goto continue_lookup; + + /* Is this a deleted file? */ + if (fid->file_char & 0x4) + goto continue_lookup; if ((fid->l_fi == 0) && (fid->file_char & 0x08)) { if (flags & ISDOTDOT) { @@ -985,6 +989,7 @@ lookloop: * looking for. It's therefore safe to clean up from a * fragmented fid. */ +continue_lookup: if (fid_fragment) { FREE(fid, M_UDFFID); fid_fragment = 0; |
