Re: [PATCH v2 1/4] fs: introduce helper d_path_unsafe()

From
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date
2021-07-14 09:17:19
Also in
linux-doc, linux-fsdevel
Reply to
Justin He, 2021-07-14
On Wed, Jul 14, 2021 at 08:33:10AM +0000, Justin He wrote:
quoted
From: Justin He
Sent: Thursday, June 24, 2021 1:49 PM
quoted
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Sent: Wednesday, June 23, 2021 5:11 PM
On Wed, Jun 23, 2021 at 01:50:08PM +0800, Jia He wrote:
...
quoted
quoted
quoted
+	const char *dname = smp_load_acquire(&name->name); /* ^^^ */
I have commented on the comment here. What does it mean for mere reader?
Do you suggest making the comment "/* ^^^ */" more clear?
Yes.
quoted
It is detailed already in prepend_name_with_len()'s comments:
quoted
* Load acquire is needed to make sure that we see that terminating NUL,
* which is similar to prepend_name().
-- 
With Best Regards,
Andy Shevchenko

Thread (19 messages) 19 messages, 3 authors, last reply 2021-07-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help