diff for duplicates of <20200406160706.GC2147@fieldses.org> diff --git a/a/1.txt b/N1/1.txt index cdbd87f..f0693a2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -9,7 +9,7 @@ In the NFS case it's implementing the "mountpoint" export option: mountpoint or mp) then the export point must also be a mount point. If it isn't then the export point is not exported. This allows you to be sure that the directory underneath a mountpoint - will never be exported by accident if, for example, the filesysâ + will never be exported by accident if, for example, the filesys‐ tem failed to mount due to a disc error. If a path is given (e.g. mountpoint=/path or mp=/path) then the @@ -52,7 +52,7 @@ On Mon, Apr 06, 2020 at 10:35:55AM +0200, Miklos Szeredi wrote: > error = vfs_getattr(&path, stat, request_mask, flags); > stat->mnt_id = real_mount(path.mnt)->mnt_id; > stat->result_mask |= STATX_MNT_ID; -> + if (path.mnt->mnt_root = path.dentry) +> + if (path.mnt->mnt_root == path.dentry) > + stat->attributes |= STATX_ATTR_MOUNT_ROOT; > + stat->attributes_mask |= STATX_ATTR_MOUNT_ROOT; > path_put(&path); diff --git a/a/content_digest b/N1/content_digest index 6f90dab..800b101 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -10,7 +10,7 @@ "ref\0CAJfpegvxnp8N-o-iTXzj0UnYZbDPfms1zpwcHf1tdhRJ4au3Og@mail.gmail.com\0" "From\0J. Bruce Fields <bfields@fieldses.org>\0" "Subject\0Re: Upcoming: Notifications, FS notifications and fsinfo()\0" - "Date\0Mon, 06 Apr 2020 16:07:06 +0000\0" + "Date\0Mon, 6 Apr 2020 12:07:06 -0400\0" "To\0Miklos Szeredi <miklos@szeredi.hu>\0" "Cc\0Lennart Poettering <mzxreary@0pointer.de>" Ian Kent <raven@themaw.net> @@ -41,7 +41,7 @@ " mountpoint or mp) then the export point must also be a mount\n" " point. If it isn't then the export point is not exported. This\n" " allows you to be sure that the directory underneath a mountpoint\n" - " will never be exported by accident if, for example, the filesys\303\242\302\200\302\220\n" + " will never be exported by accident if, for example, the filesys\342\200\220\n" " tem failed to mount due to a disc error.\n" "\n" " If a path is given (e.g. mountpoint=/path or mp=/path) then the\n" @@ -84,11 +84,11 @@ "> \terror = vfs_getattr(&path, stat, request_mask, flags);\n" "> \tstat->mnt_id = real_mount(path.mnt)->mnt_id;\n" "> \tstat->result_mask |= STATX_MNT_ID;\n" - "> +\tif (path.mnt->mnt_root = path.dentry)\n" + "> +\tif (path.mnt->mnt_root == path.dentry)\n" "> +\t\tstat->attributes |= STATX_ATTR_MOUNT_ROOT;\n" "> +\tstat->attributes_mask |= STATX_ATTR_MOUNT_ROOT;\n" "> \tpath_put(&path);\n" "> \tif (retry_estale(error, lookup_flags)) {\n" "> \t\tlookup_flags |= LOOKUP_REVAL;" -512dbbf785c970d0f19ce3450d421bc32451a23615692bc00534a8b0448b3a54 +7d961b4a55e5912eaa9b97f96c2e056d87aae02f72f181aa79e5872278d41f9f
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.