login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
25
Re: [2.6 patch] make jffs2_get_acl() static
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
KaiGai Kohei <kaigai@...>
To: Adrian Bunk <bunk@...>
Cc: David Woodhouse <dwmw2@...>, <jffs-dev@...>, <linux-kernel@...>
Subject:
Re: [2.6 patch] make jffs2_get_acl() static
Date: Wednesday, October 24, 2007 - 10:19 pm
Adrian Bunk wrote:
quoted text
> jffs2_get_acl() can now become static again. > > Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: KaiGai Kohei <kaigai@ak.jp.nec.com>
quoted text
> --- > > fs/jffs2/acl.c | 2 +- > fs/jffs2/acl.h | 2 -- > 2 files changed, 1 insertion(+), 3 deletions(-) > > add2b887d64536f3fe978e62f0774292456f1ddb > diff --git a/fs/jffs2/acl.c b/fs/jffs2/acl.c > index 9728614..b14e805 100644 > --- a/fs/jffs2/acl.c > +++ b/fs/jffs2/acl.c > @@ -176,7 +176,7 @@ static void jffs2_iset_acl(struct inode *inode, struct posix_acl **i_acl, struct > spin_unlock(&inode->i_lock); > } > > -struct posix_acl *jffs2_get_acl(struct inode *inode, int type) > +static struct posix_acl *jffs2_get_acl(struct inode *inode, int type) > { > struct jffs2_inode_info *f = JFFS2_INODE_INFO(inode); > struct posix_acl *acl; > diff --git a/fs/jffs2/acl.h b/fs/jffs2/acl.h > index 76c6ebd..0bb7f00 100644 > --- a/fs/jffs2/acl.h > +++ b/fs/jffs2/acl.h > @@ -28,7 +28,6 @@ struct jffs2_acl_header { > > #define JFFS2_ACL_NOT_CACHED ((void *)-1) > > -extern struct posix_acl *jffs2_get_acl(struct inode *inode, int type); > extern int jffs2_permission(struct inode *, int, struct nameidata *); > extern int jffs2_acl_chmod(struct inode *); > extern int jffs2_init_acl_pre(struct inode *, struct inode *, int *); > @@ -40,7 +39,6 @@ extern struct xattr_handler jffs2_acl_default_xattr_handler; > > #else > > -#define jffs2_get_acl(inode, type) (NULL) > #define jffs2_permission (NULL) > #define jffs2_acl_chmod(inode) (0) > #define jffs2_init_acl_pre(dir_i,inode,mode) (0) > >
-
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[2.6 patch] make jffs2_get_acl() static
, Adrian Bunk
, (Wed Oct 24, 12:27 pm)
Re: [2.6 patch] make jffs2_get_acl() static
, KaiGai Kohei
, (Wed Oct 24, 10:19 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Amit K. Arora
[RFC] Heads up on sys_fallocate()
Linus Torvalds
Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series..
Paul Jackson
Re: cpuset-remove-sched-domain-hooks-from-cpusets
Greg KH
[GIT PATCH] driver core patches against 2.6.24
git
:
linux-netdev
:
Linus Torvalds
Re: [GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
Re: [klibc] [patch] import socket defines
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
586 guests
online.
Syndicate