函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:include\linux\fs.h Create Date:2022-07-27 06:44:26
首页 Copyright©Brick

1552
1553
1554
1555
1556
1557
1558
1559
1560
/* Helper functions so that in most cases filesystems will
 * not need to deal directly with kuid_t and kgid_t and can
 * instead deal with the raw numeric values that are stored
 * in the filesystem.
 */
static inline uid_t i_uid_read(const struct inode *inode)
{
    return from_kuid(inode->i_sb->s_user_ns, inode->i_uid);
}