cregit-Linux how code gets into the kernel

Release 4.10 fs/reiserfs/xattr_user.c

Directory: fs/reiserfs
#include "reiserfs.h"
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/pagemap.h>
#include <linux/xattr.h>
#include "xattr.h"
#include <linux/uaccess.h>


static int user_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) { if (!reiserfs_xattrs_user(inode->i_sb)) return -EOPNOTSUPP; return reiserfs_xattr_get(inode, xattr_full_name(handler, name), buffer, size); }

Contributors

PersonTokensPropCommitsCommitProp
andrew mortonandrew morton4467.69%120.00%
al viroal viro1421.54%240.00%
andreas gruenbacherandreas gruenbacher69.23%120.00%
christoph hellwigchristoph hellwig11.54%120.00%
Total65100.00%5100.00%


static int user_set(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) { if (!reiserfs_xattrs_user(inode->i_sb)) return -EOPNOTSUPP; return reiserfs_xattr_set(inode, xattr_full_name(handler, name), buffer, size, flags); }

Contributors

PersonTokensPropCommitsCommitProp
andrew mortonandrew morton5070.42%120.00%
al viroal viro1419.72%240.00%
andreas gruenbacherandreas gruenbacher68.45%120.00%
christoph hellwigchristoph hellwig11.41%120.00%
Total71100.00%5100.00%


static bool user_list(struct dentry *dentry) { return reiserfs_xattrs_user(dentry->d_sb); }

Contributors

PersonTokensPropCommitsCommitProp
andrew mortonandrew morton1263.16%125.00%
christoph hellwigchristoph hellwig421.05%125.00%
andreas gruenbacherandreas gruenbacher210.53%125.00%
jeff mahoneyjeff mahoney15.26%125.00%
Total19100.00%4100.00%

const struct xattr_handler reiserfs_xattr_user_handler = { .prefix = XATTR_USER_PREFIX, .get = user_get, .set = user_set, .list = user_list, };

Overall Contributors

PersonTokensPropCommitsCommitProp
andrew mortonandrew morton14068.97%17.69%
al viroal viro3818.72%646.15%
andreas gruenbacherandreas gruenbacher146.90%215.38%
christoph hellwigchristoph hellwig62.96%17.69%
jeff mahoneyjeff mahoney31.48%17.69%
stephen hemmingerstephen hemminger10.49%17.69%
fabian frederickfabian frederick10.49%17.69%
Total203100.00%13100.00%
Directory: fs/reiserfs
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.