Quoting Eric W. Biederman (ebiederm@xxxxxxxxxxxx): > "Serge E. Hallyn" <serue@xxxxxxxxxx> writes: > > > Ok I wasn't thinking right. We still can't get to a user_ns from > > an inode *. > > > > So playing with this a bit tonight, it seems like the best way > > to pass the user_namespace up to the fs is just to define new > > super_operations which handle the conversions. Something like > > the following. > > I'm pretty certain you want to pass in the entire inode instead > of just inode->i_uid. That would allow you to pass one less argument > and give the filesystems more information to work with. > > Eric Oh yes of course, the fs will want the whole inode. Will change that. And I suppose in that case I may as well have just one function to convert both uid and gid. Thanks. -serge _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers