FreeBSD Bugzilla – Attachment 13244 Details for
Bug 25309
Bug with kevent & umount -f
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 652 bytes, created by
mitja.horvat
on 2001-02-23 15:00:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
mitja.horvat
Created:
2001-02-23 15:00:02 UTC
Size:
652 bytes
patch
obsolete
>--- vfs_vnops.c.orig Mon Feb 12 14:17:19 2001 >+++ vfs_vnops.c Fri Feb 23 15:55:18 2001 >@@ -722,6 +722,15 @@ > struct vnode *vp = (struct vnode *)kn->kn_fp->f_data; > struct inode *ip = VTOI(vp); > >+ /* >+ * If the underlying inode was freed(this can happen >+ * if the filesystem is forcibly unmounted with >+ * umount -f), return as there was activity on the file, >+ * so the process will be woken up and later it will >+ * receive an error during read XXX >+ */ >+ if (ip == NULL) return 1; >+ > kn->kn_data = ip->i_size - kn->kn_fp->f_offset; > return (kn->kn_data != 0); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 25309
: 13244