On Wed, Apr 8, 2020 at 7:00 AM Jeff Layton <jlayton@xxxxxxxxxx> wrote: > > Somewhat idle curiosity, but what happens with hardlinked files where > one dentry is in one quota domain and another is in a different one? > Does it stay in the old quotarealm? > > In any case, this is likely fine as non-hardlinked files are the > pessimal case anyway. rstat only tracks primary dentry. inode is in the quota realm where its primary linkage is in.