Re: [PATCH] configfs: initialize inode with owner

2018-03-07 Thread Gwendal Grignou
This patch is not correct: When listed with ls, configfs attributes have the uid/gid of the user who list them, but looks wrong. I will test it more and repost. Gwendal. On Tue, Mar 6, 2018 at 7:36 PM, Gwendal Grignou wrote: > From: Sarthak Kukreti

Re: [PATCH] configfs: initialize inode with owner

2018-03-07 Thread Gwendal Grignou
This patch is not correct: When listed with ls, configfs attributes have the uid/gid of the user who list them, but looks wrong. I will test it more and repost. Gwendal. On Tue, Mar 6, 2018 at 7:36 PM, Gwendal Grignou wrote: > From: Sarthak Kukreti > > Use standard helper to set inode owner

[PATCH] configfs: initialize inode with owner

2018-03-06 Thread Gwendal Grignou
From: Sarthak Kukreti Use standard helper to set inode owner when created from user space. This is a noop when the owner is root. Signed-off-by: Sarthak Kukreti Signed-off-by: Gwendal Grignou ---

[PATCH] configfs: initialize inode with owner

2018-03-06 Thread Gwendal Grignou
From: Sarthak Kukreti Use standard helper to set inode owner when created from user space. This is a noop when the owner is root. Signed-off-by: Sarthak Kukreti Signed-off-by: Gwendal Grignou --- fs/configfs/configfs_internal.h | 5 - fs/configfs/inode.c | 14 --