Opened 15 years ago
Closed 13 years ago
#4125 closed bug (fixed)
NULL device is translated to '//'
Reported by: | brecht | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | File Systems/UserlandFS | Version: | R1/pre-alpha1 |
Keywords: | gsoc2012 | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
UserlandFS passes '' as the device to the FS when no device has been specified when mounting it.
Attachments (2)
Change History (7)
comment:1 by , 15 years ago
Component: | File Systems → File Systems/UserlandFS |
---|---|
Owner: | changed from | to
Summary: | [userlandfs] NULL device is translated to '//' → NULL device is translated to '//' |
by , 13 years ago
Attachment: | 4125.patch added |
---|
comment:2 by , 13 years ago
patch: | 0 → 1 |
---|
comment:3 by , 13 years ago
Keywords: | gsoc2012 added |
---|
comment:4 by , 13 years ago
The patch looks good. Please provide it in git format-patch
format. The null pointer check should be data != NULL
though.
by , 13 years ago
Attachment: | 0001-Fix-4125-NULL-device-is-translated-to.patch added |
---|
Note:
See TracTickets
for help on using tickets.
The problem appeared to be on the request creating side (i.e. in the kernel add-on) which did not support
NULL
pointers properly.Relocation of addresses in request when it is received translates
offset = 0
,size = 0
to pointerNULL
so that no change in that part of code was required.