hujun260 commented on code in PR #15203:
URL: https://github.com/apache/nuttx/pull/15203#discussion_r1888207812


##########
fs/inode/fs_files.c:
##########
@@ -70,9 +70,6 @@ static FAR struct file *files_fget_by_index(FAR struct 
filelist *list,
                                             int l1, int l2, FAR bool *new)
 {
   FAR struct file *filep;
-  irqstate_t flags;
-
-  flags = spin_lock_irqsave(&list->fl_lock);

Review Comment:
   move fl_lock to a more appropriate location



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to