# Re: \[CFT\]\[PATCH\] exit/bdflush: Remove the deprecated bdflush system call

- From: Arnd Bergmann \<arnd@kernel.org\>
- Date: 2021-06-30 08:39:53 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2021/06/1429579
- Thread: https://ratatoskr.run/linux-arch/2021/06/1429256/t.md

```text
On Tue, Jun 29, 2021 at 10:28 PM Eric W. Biederman
[ref] wrote:
>
>
> The bdflush system call has been deprecated for a very long time.
> Recently Michael Schmitz tested[1] and found that the last known
> caller of of the bdflush system call is unaffected by it's removal.
>
> Since the code is not needed delete it.
>
> [1] https://lkml.kernel.org/r/36123b5d-daa0-6c2b-f2d4-a942f069fd54@gmail.com
> Signed-off-by: "Eric W. Biederman" <redacted>
> ---
>
> I think we have consensus that bdflush can be removed. Can folks please
> verify I have removed it correctly?

Reviewed-by: Arnd Bergmann <arnd@arndb.de>

We are traditionally somewhat inconsistent about whether to leave the
__NR_bdflush macro present in asm/unistd.h or to remove it when the
syscall is gone. Leaving it in place as you do is probably better here.

        Arnd
```
