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


##########
include/nuttx/fs/fs.h:
##########
@@ -490,7 +490,6 @@ struct file
 
 struct filelist
 {
-  spinlock_t        fl_lock;    /* Manage access to the file list */

Review Comment:
   We are doing this to remove the dependency of fs.h on spinlock.h, because 
the inclusion of <atomic> introduces a dependency on fs.h, which in turn 
creates a circular dependency between spinlock.h and fs.h.



-- 
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