configfs: Add permission and ownership to configfs objects.
authorJoel Becker <joel.becker@oracle.com>
Wed, 25 Jan 2006 21:31:07 +0000 (13:31 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 3 Feb 2006 22:01:05 +0000 (14:01 -0800)
commit3d0f89bb169482d26d5aa4e82e763077e7e9bc4d
tree2d2317ce1417202322e3f715534fab80394bd5d2
parent62ca3d2603571dc2b1b4c1368e19d44b599062e2
configfs: Add permission and ownership to configfs objects.

configfs always made item and attribute ownership root.root and
permissions based on a umask of 022.  Add ->setattr() to allow
chown(2)/chmod(2), and persist the changes for the lifetime of the
items and attributes.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Documentation/filesystems/configfs/configfs_example.c
fs/configfs/configfs_internal.h
fs/configfs/dir.c
fs/configfs/file.c
fs/configfs/inode.c
fs/configfs/mount.c
fs/configfs/symlink.c
include/linux/configfs.h