Re: [PATCH 00/18] new API for FS_IOC_[GS]ETFLAGS/FS_IOC_FS[GS]ETXATTR

From: Miklos Szeredi
Date: Wed Feb 03 2021 - 09:14:46 EST


On Wed, Feb 3, 2021 at 2:58 PM Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:

> Network filesystems frequently need to use the credentials attached to
> a struct file in order to communicate with the server. There's no point
> fighting this reality.

IDGI. Credentials can be taken from the file and from the task. In
this case every filesystem except cifs looks at task creds. Why are
network filesystem special in this respect?

Thanks,
Miklos