mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Determining whether a path or file descriptor refers to a mountpoint (or more precisely a mount root) is not trivial using current tools. Add a flag to statx that indicates whether the path or fd refers to the root of a mount or not. Cc: [email protected] Cc: [email protected] Reported-by: Lennart Poettering <[email protected]> Reported-by: J. Bruce Fields <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]>