Release 4.11 fs/reiserfs/xattr_user.c
#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
Person | Tokens | Prop | Commits | CommitProp |
Andrew Morton | 44 | 67.69% | 1 | 20.00% |
Al Viro | 14 | 21.54% | 2 | 40.00% |
Andreas Gruenbacher | 6 | 9.23% | 1 | 20.00% |
Christoph Hellwig | 1 | 1.54% | 1 | 20.00% |
Total | 65 | 100.00% | 5 | 100.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
Person | Tokens | Prop | Commits | CommitProp |
Andrew Morton | 50 | 70.42% | 1 | 20.00% |
Al Viro | 14 | 19.72% | 2 | 40.00% |
Andreas Gruenbacher | 6 | 8.45% | 1 | 20.00% |
Christoph Hellwig | 1 | 1.41% | 1 | 20.00% |
Total | 71 | 100.00% | 5 | 100.00% |
static bool user_list(struct dentry *dentry)
{
return reiserfs_xattrs_user(dentry->d_sb);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrew Morton | 12 | 63.16% | 1 | 25.00% |
Christoph Hellwig | 4 | 21.05% | 1 | 25.00% |
Andreas Gruenbacher | 2 | 10.53% | 1 | 25.00% |
Jeff Mahoney | 1 | 5.26% | 1 | 25.00% |
Total | 19 | 100.00% | 4 | 100.00% |
const struct xattr_handler reiserfs_xattr_user_handler = {
.prefix = XATTR_USER_PREFIX,
.get = user_get,
.set = user_set,
.list = user_list,
};
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrew Morton | 140 | 68.97% | 1 | 7.69% |
Al Viro | 38 | 18.72% | 6 | 46.15% |
Andreas Gruenbacher | 14 | 6.90% | 2 | 15.38% |
Christoph Hellwig | 6 | 2.96% | 1 | 7.69% |
Jeff Mahoney | 3 | 1.48% | 1 | 7.69% |
Fabian Frederick | 1 | 0.49% | 1 | 7.69% |
Stephen Hemminger | 1 | 0.49% | 1 | 7.69% |
Total | 203 | 100.00% | 13 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.