Thread (60 messages) 60 messages, 3 authors, 2018-01-17

Re: [PATCH 21/27] xfs_scrub: scrub file data blocks

From: Darrick J. Wong <hidden>
Date: 2018-01-12 00:29:32

On Thu, Jan 11, 2018 at 05:25:58PM -0600, Eric Sandeen wrote:

On 1/5/18 7:53 PM, Darrick J. Wong wrote:
quoted
From: Darrick J. Wong <redacted>
...
quoted
+		/* Get the stat info for this directory entry. */
+		error = fstatat(dir_fd, dirent->d_name, &sb,
+				AT_NO_AUTOMOUNT | AT_SYMLINK_NOFOLLOW);
+		if (error) {
+			str_errno(ctx, newpath);
+			continue;
I needed:

+#ifndef AT_NO_AUTOMOUNT
+#define AT_NO_AUTOMOUNT 0x800
+#endif
Fixed.

--D
here

-Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help