git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: better rtc framework which aims to remove single rtc restrictions.
[lunaix-os.git]
/
lunaix-os
/
kernel
/
fs
/
iso9660
/
file.c
diff --git
a/lunaix-os/kernel/fs/iso9660/file.c
b/lunaix-os/kernel/fs/iso9660/file.c
index 34d3b47fcf7cfffa091e4791dc53dc9b5a29a9c3..f07f56036258fa14568af053a78ffd458480dcdb 100644
(file)
--- a/
lunaix-os/kernel/fs/iso9660/file.c
+++ b/
lunaix-os/kernel/fs/iso9660/file.c
@@
-54,7
+54,7
@@
iso9660_read(struct v_inode* inode, void* buffer, size_t len, size_t fpos)
int errno = 0;
while (fu_to_read) {
for (; sec < isoino->fu_size && i < len; sec++) {
int errno = 0;
while (fu_to_read) {
for (; sec < isoino->fu_size && i < len; sec++) {
- errno = bdev->read(
+ errno = bdev->
ops.
read(
bdev, rd_buffer, true_offset * ISO9660_BLKSZ, ISO9660_BLKSZ);
if (errno < 0) {
bdev, rd_buffer, true_offset * ISO9660_BLKSZ, ISO9660_BLKSZ);
if (errno < 0) {