X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=blobdiff_plain;f=fs%2Freiserfs%2Fxattr_acl.c;fp=fs%2Freiserfs%2Fxattr_acl.c;h=d6fcddc46f5b7f59a0d3299c814f3b57635fb40c;hp=a9547144a09995104d530add71577dd61fe02c3d;hb=0cad6246621b5887d5b33fea84219d2a71f2f99a;hpb=52d5a0c6bd8a89f460243ed937856354f8f253a3 diff --git a/fs/reiserfs/xattr_acl.c b/fs/reiserfs/xattr_acl.c index a9547144a099..d6fcddc46f5b 100644 --- a/fs/reiserfs/xattr_acl.c +++ b/fs/reiserfs/xattr_acl.c @@ -190,13 +190,16 @@ fail: * inode->i_mutex: down * BKL held [before 2.5.x] */ -struct posix_acl *reiserfs_get_acl(struct inode *inode, int type) +struct posix_acl *reiserfs_get_acl(struct inode *inode, int type, bool rcu) { char *name, *value; struct posix_acl *acl; int size; int retval; + if (rcu) + return ERR_PTR(-ECHILD); + switch (type) { case ACL_TYPE_ACCESS: name = XATTR_NAME_POSIX_ACL_ACCESS;