Abhishekmishra2808 commented on code in PR #19166:
URL: https://github.com/apache/nuttx/pull/19166#discussion_r3443401603
##########
fs/littlefs/lfs_vfs.c:
##########
@@ -1504,7 +1701,7 @@ static int littlefs_bind(FAR struct inode *driver, FAR
const void *data,
{
/* Auto format the device if -o autoformat */
- if (ret != -EFAULT || !autoformat)
+ if (ret != -EFAULT || !data || strcmp(data, "autoformat"))
Review Comment:
Not intentional. I accidentally reverted the mount-option parser during a
rebase/amend while adding the permission checks. I’ll rebase onto master.
--
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]