Re: i_uid_read()/i_uid_write() and friends

2015-04-10 Thread Eric W. Biederman
Anton Altaparmakov writes: > Hi, > > Is it intended that non-gpl file systems cannot use functions like > i_uid_read() and i_uid_write() (introduced by Eric Biederman in 3.5 > kernel)? > > They resolve to the below (in include/linux/fs.h): > > static inline uid_t i_uid_read(const struct inode *in

i_uid_read()/i_uid_write() and friends

2015-04-10 Thread Anton Altaparmakov
Hi, Is it intended that non-gpl file systems cannot use functions like i_uid_read() and i_uid_write() (introduced by Eric Biederman in 3.5 kernel)? They resolve to the below (in include/linux/fs.h): static inline uid_t i_uid_read(const struct inode *inode) { return from_kuid(&init_user_