cregit-Linux how code gets into the kernel

Release 4.18 fs/reiserfs/xattr_user.c

Directory: fs/reiserfs
// SPDX-License-Identifier: GPL-2.0
#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 Morton4467.69%120.00%
Al Viro1421.54%240.00%
Andreas Gruenbacher69.23%120.00%
Christoph 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 Morton5070.42%120.00%
Al Viro1419.72%240.00%
Andreas Gruenbacher68.45%120.00%
Christoph 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 Morton1263.16%125.00%
Christoph Hellwig421.05%125.00%
Andreas Gruenbacher210.53%125.00%
Jeff 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 Morton14068.63%17.14%
Al Viro3818.63%642.86%
Andreas Gruenbacher146.86%214.29%
Christoph Hellwig62.94%17.14%
Jeff Mahoney31.47%17.14%
Greg Kroah-Hartman10.49%17.14%
Fabian Frederick10.49%17.14%
Stephen Hemminger10.49%17.14%
Total204100.00%14100.00%
Directory: fs/reiserfs
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.