public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] reiserfs: fix build breakage
@ 2009-03-30 20:32 Alexander Beregalov
  2009-03-30 20:45 ` Jeff Mahoney
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Beregalov @ 2009-03-30 20:32 UTC (permalink / raw)
  To: Jeff Mahoney, Linus Torvalds, linux-kernel, akpm,
	ReiserFS Development List

fs/reiserfs/inode.c: In function 'reiserfs_new_inode':
fs/reiserfs/inode.c:1919: warning: passing argument 1 of
'reiserfs_inherit_default_acl' from incompatible pointer type
fs/reiserfs/inode.c:1919: warning: passing argument 2 of
'reiserfs_inherit_default_acl' from incompatible pointer type
fs/reiserfs/inode.c:1919: warning: passing argument 3 of
'reiserfs_inherit_default_acl' from incompatible pointer type
fs/reiserfs/inode.c:1919: error: too many arguments to function
'reiserfs_inherit_default_acl'

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---

 include/linux/reiserfs_acl.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/linux/reiserfs_acl.h b/include/linux/reiserfs_acl.h
index 52240e0..8cc6575 100644
--- a/include/linux/reiserfs_acl.h
+++ b/include/linux/reiserfs_acl.h
@@ -80,7 +80,8 @@ static inline int reiserfs_acl_chmod(struct inode *inode)
 }
 
 static inline int
-reiserfs_inherit_default_acl(const struct inode *dir, struct dentry *dentry,
+reiserfs_inherit_default_acl(struct reiserfs_transaction_handle *th,
+			     const struct inode *dir, struct dentry *dentry,
 			     struct inode *inode)
 {
 	return 0;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] reiserfs: fix build breakage
  2009-03-30 20:32 [PATCH] reiserfs: fix build breakage Alexander Beregalov
@ 2009-03-30 20:45 ` Jeff Mahoney
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Mahoney @ 2009-03-30 20:45 UTC (permalink / raw)
  To: Alexander Beregalov
  Cc: Linus Torvalds, linux-kernel, akpm, ReiserFS Development List

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Beregalov wrote:
> fs/reiserfs/inode.c: In function 'reiserfs_new_inode':
> fs/reiserfs/inode.c:1919: warning: passing argument 1 of
> 'reiserfs_inherit_default_acl' from incompatible pointer type
> fs/reiserfs/inode.c:1919: warning: passing argument 2 of
> 'reiserfs_inherit_default_acl' from incompatible pointer type
> fs/reiserfs/inode.c:1919: warning: passing argument 3 of
> 'reiserfs_inherit_default_acl' from incompatible pointer type
> fs/reiserfs/inode.c:1919: error: too many arguments to function
> 'reiserfs_inherit_default_acl'
> 
> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
> ---
> 
>  include/linux/reiserfs_acl.h |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/include/linux/reiserfs_acl.h b/include/linux/reiserfs_acl.h
> index 52240e0..8cc6575 100644
> --- a/include/linux/reiserfs_acl.h
> +++ b/include/linux/reiserfs_acl.h
> @@ -80,7 +80,8 @@ static inline int reiserfs_acl_chmod(struct inode *inode)
>  }
>  
>  static inline int
> -reiserfs_inherit_default_acl(const struct inode *dir, struct dentry *dentry,
> +reiserfs_inherit_default_acl(struct reiserfs_transaction_handle *th,
> +			     const struct inode *dir, struct dentry *dentry,
>  			     struct inode *inode)
>  {
>  	return 0;

Acked-by: Jeff Mahoney <jeffm@suse.com>

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAknRL2sACgkQLPWxlyuTD7KPRQCeKLggyevsf27KTS+CujDnR23G
2XoAnRqE0fO0PAbqmL1DSXwK3HhRxQ+2
=ed4M
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-30 20:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-30 20:32 [PATCH] reiserfs: fix build breakage Alexander Beregalov
2009-03-30 20:45 ` Jeff Mahoney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox