lkml.org 
[lkml]   [2009]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Build failure latest git. (acl related)
On Wed, Jun 24, 2009 at 09:33:30PM +0100, Al Viro wrote:
> On Wed, Jun 24, 2009 at 10:28:52PM +0200, Markus Trippelsdorf wrote:
> >
> > This patch should fix it:
>
> Applied.

While we're at it:

diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 78ad38d..1f7aa6c 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -2122,10 +2122,12 @@ static void btrfs_read_locked_inode(struct inode *inode)
* any xattrs or acls
*/
maybe_acls = acls_after_inode_item(leaf, path->slots[0], inode->i_ino);
+#ifdef CONFIG_FS_POSIX_ACL
if (!maybe_acls) {
inode->i_acl = NULL;
inode->i_default_acl = NULL;
}
+#endif

BTRFS_I(inode)->block_group = btrfs_find_block_group(root, 0,
alloc_group_block, 0);
--
Markus

\
 
 \ /
  Last update: 2009-06-24 22:49    [W:0.055 / U:1.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site