This patchset add two helper functions to convert user space project id to kernel space project id without any struct changed. Since the projid_map of user namespace has limit the range of valid project ids for user namespace, we can safely allow user to change file's project id in un-init user namespace. Gao feng (4): xfs: add helper function to convert project id between user and kernel space userns: ioctl: convert project id between user and kernel space xfs: allow un-init user namespace to change file's project id userns: eofblocks: convert project id from user to kernel space fs/xfs/xfs_icache.h | 9 ++++++++- fs/xfs/xfs_ioctl.c | 26 ++++++++++++-------------- fs/xfs/xfs_linux.h | 19 +++++++++++++++++++ 3 files changed, 39 insertions(+), 15 deletions(-) -- 1.8.3.1 _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs