syscall: msg: locking of vm-region is now handled by channel_read_msg
This commit is contained in:
@@ -417,7 +417,6 @@ kern_status_t sys_msg_read(
|
||||
}
|
||||
|
||||
channel_lock_irqsave(channel, &flags);
|
||||
vm_region_lock(self->t_address_space);
|
||||
status = channel_read_msg(
|
||||
channel,
|
||||
id,
|
||||
@@ -426,7 +425,6 @@ kern_status_t sys_msg_read(
|
||||
iov,
|
||||
iov_count,
|
||||
nr_read);
|
||||
vm_region_unlock(self->t_address_space);
|
||||
channel_unlock_irqrestore(channel, flags);
|
||||
object_unref(channel_obj);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user