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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 1/5/18 7:53 PM, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@xxxxxxxxxx>

...

> +		/* 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

here

-Eric
--
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



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux