RE: [RFC PATCH 1/2] vfs: pass file down when getattr to avoid losing info.

2020-07-21 Thread Jianyong Wu
n ; Justin He > ; Wei Chen > Subject: Re: [RFC PATCH 1/2] vfs: pass file down when getattr to avoid losing > info. > > Jianyong Wu wrote on Mon, Jul 20, 2020: > > Currently, getting attribute for a file represented by fd is always by > > inode or path which may lead to bug fo

Re: [RFC PATCH 1/2] vfs: pass file down when getattr to avoid losing info.

2020-07-20 Thread Dominique Martinet
Jianyong Wu wrote on Mon, Jul 20, 2020: > Currently, getting attribute for a file represented by fd is always > by inode or path which may lead to bug for a certain network file system. > Adding file struct into struct kstat and assigning file for it in > vfs_statx_fd can avoid this issue. This cha