Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F155165805
D40883.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
535 B
Referenced Files
None
Subscribers
None
D40883.diff
View Options
diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c
--- a/sys/kern/vfs_lookup.c
+++ b/sys/kern/vfs_lookup.c
@@ -1314,11 +1314,9 @@
crosslkflags &= ~LK_SHARED;
crosslkflags |= LK_EXCLUSIVE | LK_CANRECURSE;
} else if ((crosslkflags & LK_EXCLUSIVE) != 0) {
- vn_lock(dp, LK_UPGRADE | LK_RETRY);
- if (VN_IS_DOOMED(dp)) {
- error = ENOENT;
- goto bad2;
- }
+ error = vn_lock(dp, LK_UPGRADE);
+ if (error != 0)
+ goto bad_unlocked;
if (dp->v_mountedhere != mp) {
continue;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 2, 9:02 PM (3 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32629828
Default Alt Text
D40883.diff (535 B)
Attached To
Mode
D40883: vfs: factor out mount point traversal to a dedicated routine
Attached
Detach File
Event Timeline
Log In to Comment