Page MenuHomeFreeBSD

Fix vnode leak with msdosfs_rename()
ClosedPublic

Authored by trasz on Nov 23 2020, 1:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 10, 5:47 AM
Unknown Object (File)
Oct 17 2024, 9:59 AM
Unknown Object (File)
Oct 9 2024, 7:52 AM
Unknown Object (File)
Oct 3 2024, 2:36 AM
Unknown Object (File)
Oct 2 2024, 3:01 PM
Unknown Object (File)
Sep 30 2024, 4:20 PM
Unknown Object (File)
Sep 8 2024, 7:40 PM
Unknown Object (File)
Sep 8 2024, 4:24 AM
Subscribers

Details

Summary

Fix vnode leak with msdosfs_rename(), failing due to disappearing
source file.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

trasz requested review of this revision.Nov 23 2020, 1:55 PM

Do you have repro ? Did you sent it to pho ?

sys/fs/msdosfs/msdosfs_vnops.c
1129

I must admit that this is an exemplary case for a useless comment repeating the code.

This revision is now accepted and ready to land.Nov 23 2020, 2:23 PM
In D27338#610605, @kib wrote:

Do you have repro ? Did you sent it to pho ?

Unfortunately not. My plan is to ask pho@ to test the msdosfs changes together.

I agree about the comment; will try to improve it :-)

This revision was automatically updated to reflect the committed changes.