# \[PATCH\] ioctl\_getfsmap.2: correct semantics of FMR\_OF\_LAST flag

- Subsystems: THE REST
- Maintainers: Linus Torvalds
- List: linux-api
- 2 messages, 2 authors
- Page: https://ratatoskr.run/linux-api/2017/08/7200465/t

## \[PATCH\] ioctl\_getfsmap.2: correct semantics of FMR\_OF\_LAST flag

- From: Darrick J. Wong \<hidden\>
- Date: 2017-08-23 19:52:29 
- Message: https://ratatoskr.run/linux-api/2017/08/7200465.md

```text
The FMR_OF_LAST flag is applied to the last record in the returned
dataset, which is not necessarily the last record in the filesystem.
Correct the documentation to reflect the actual behavior of both
getfsmap implementations.

Signed-off-by: Darrick J. Wong <redacted>
---
 man2/ioctl_getfsmap.2 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man2/ioctl_getfsmap.2 b/man2/ioctl_getfsmap.2
index 2a3cf06..047a624 100644
--- a/man2/ioctl_getfsmap.2
+++ b/man2/ioctl_getfsmap.2
@@ -225,7 +225,7 @@ The
 field contains a special value instead of an inode number.
 .TP
 .B FMR_OF_LAST
-This is the last record in the filesystem.
+This is the last record in the data set.
 .RE
 .PP
 The
```

## Re: \[PATCH\] ioctl\_getfsmap.2: correct semantics of FMR\_OF\_LAST flag

- From: Michael Kerrisk (man-pages) \<hidden\>
- Date: 2017-08-23 22:33:56 
- Message: https://ratatoskr.run/linux-api/2017/08/7200501.md

```text
On 08/23/2017 09:52 PM, Darrick J. Wong wrote:
> The FMR_OF_LAST flag is applied to the last record in the returned
> dataset, which is not necessarily the last record in the filesystem.
> Correct the documentation to reflect the actual behavior of both
> getfsmap implementations.

Thanks, Darrick. Applied.

Cheers,

Michael


> 
> Signed-off-by: Darrick J. Wong <redacted>
> ---
>  man2/ioctl_getfsmap.2 |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man2/ioctl_getfsmap.2 b/man2/ioctl_getfsmap.2
> index 2a3cf06..047a624 100644
> --- a/man2/ioctl_getfsmap.2
> +++ b/man2/ioctl_getfsmap.2
> @@ -225,7 +225,7 @@ The
>  field contains a special value instead of an inode number.
>  .TP
>  .B FMR_OF_LAST
> -This is the last record in the filesystem.
> +This is the last record in the data set.
>  .RE
>  .PP
>  The
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
