Darrick J. Wong <darrick.wong@xxxxxxxxxx> wrote: > Is (flags & AT_EMPTY_PATH) is the same as (pathname == NULL)? I'm not sure. I was wondering about that whilst writing this. The text describing the option is copied from the stat(2) manpage. It specified an empty path (presumably "") rather than NULL. I'm also not sure whether it has other ramifications. > > .I Note: > > For performance and simplicity reasons, different fields in the > > .I statx > > structure may contain state information from different moments > > during the execution of the system call. > > Hm. Judging from the ext4 patch you proposed, I gather this is > expected, at least in the btime case. This is copied from the stat(2) manpage. The comment in the source there says it's because there's no locking in the getattr path against the setattr path. David -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html