Skip to content

Commit

Permalink
Update 3using-easy-fs-in-kernel.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
lewiszlw authored Oct 21, 2024
1 parent ef09b74 commit 3b9c1ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/chapter6/3using-easy-fs-in-kernel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ K210 真实硬件平台
path.as_str(),
OpenFlags::from_bits(flags).unwrap()
) {
let mut inner = task.acquire_inner_lock();
let mut inner = task.inner_exclusive_access();
let fd = inner.alloc_fd();
inner.fd_table[fd] = Some(inode);
fd as isize
Expand Down

0 comments on commit 3b9c1ee

Please sign in to comment.