# Re: \[PATCH v3 2/5\] fs: Add fchmodat4()

- From: Matthew Wilcox \<willy@infradead.org\>
- Date: 2023-07-11 12:30:03 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2023/07/255199
- Thread: https://ratatoskr.run/linux-api/2020/06/181723/t.md

```text
On Tue, Jul 11, 2023 at 01:25:43PM +0200, Alexey Gladkov wrote:
> -static int do_fchmodat(int dfd, const char __user *filename, umode_t mode)
> +static int do_fchmodat4(int dfd, const char __user *filename, umode_t mode, int lookup_flags)

This function can still be called do_fchmodat(); we don't need to
version internal functions.

```
