Commit 3a355cc6 authored by Jeff Mahoney's avatar Jeff Mahoney Committed by Linus Torvalds
Browse files

reiserfs: xattr_create is unused with xattrs disabled

This patch ifdefs xattr_create when xattrs aren't enabled.
Signed-off-by: default avatarJeff Mahoney <>
Signed-off-by: default avatarLinus Torvalds <>
parent 77e46586
......@@ -57,12 +57,14 @@
/* Helpers for inode ops. We do this so that we don't have all the VFS
* overhead and also for proper i_mutex annotation.
* dir->i_mutex must be held for all of them. */
static int xattr_create(struct inode *dir, struct dentry *dentry, int mode)
return dir->i_op->create(dir, dentry, mode, NULL);
static int xattr_mkdir(struct inode *dir, struct dentry *dentry, int mode)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment