]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit58c4a1c35065eba2abc3219b8485de9f8160bf20
tree2d2317ce1417202322e3f715534fab80394bd5d2
parent08c5f989474a84d774a35ee92e8b4a6d55dc682b
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