NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/38664: Most file systems ignore getblk errors



>Number:         38664
>Category:       kern
>Synopsis:       Most file systems ignore getblk errors
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 15 08:00:00 +0000 2008
>Originator:     Juergen Hannken-Illjes
>Release:        NetBSD 4.99
>Organization:
        
>Environment:
        
        
>Description:
        
        Since the vmlocking2 merge vfs_bio.c::getblk() will return NULL if
        allocbuf() fails.
        Most file systems assume getblk() to always succeed if called with
        "slptimeo == 0" and don't check the result.
>How-To-Repeat:
        
        Code inspection.
>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index