Re: [PATCH 0/2] fs: supply inode uid/gid setting interface

2013-08-23 Thread Rui Xiang
On 2013/8/23 12:10, Greg KH wrote: > On Fri, Aug 23, 2013 at 10:48:36AM +0800, Rui Xiang wrote: >> This patchset implements an accessor functions to set uid/gid >> in inode struct. Just finish code clean up. > > Why? > It can introduce a new function to reduce som

[PATCH 2/2] fs: use inode_set_user to set uid/gid of inode

2013-08-23 Thread Rui Xiang
Use the new interface to set i_uid/i_gid in inode struct. Signed-off-by: Rui Xiang --- arch/ia64/kernel/perfmon.c| 3 +-- arch/powerpc/platforms/cell/spufs/inode.c | 3 +-- arch/s390/hypfs/inode.c | 3 +-- drivers/infiniband/hw/qib/qib_fs.c| 3

[PATCH 0/2] fs: supply inode uid/gid setting interface

2013-08-23 Thread Rui Xiang
This patchset implements an accessor functions to set uid/gid in inode struct. Just finish code clean up. Rui Xiang (2): fs: implement inode uid/gid setting function fs: use inode_set_user to set uid/gid of inode arch/ia64/kernel/perfmon.c| 3 +-- arch/powerpc/platforms

[PATCH 1/2] fs: implement inode uid/gid setting function

2013-08-23 Thread Rui Xiang
Supply a interface inode_set_user to set uid/gid of inode structs. Signed-off-by: Rui Xiang --- fs/inode.c | 7 +++ include/linux/fs.h | 1 + 2 files changed, 8 insertions(+) diff --git a/fs/inode.c b/fs/inode.c index e315c0a..3f90499 100644 --- a/fs/inode.c +++ b/fs/inode.c