aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/ext2fs/ext2_extattr.c
diff options
context:
space:
mode:
authorFedor Uporov <fsu@FreeBSD.org>2017-10-17 20:45:44 +0000
committerFedor Uporov <fsu@FreeBSD.org>2017-10-17 20:45:44 +0000
commitb394cd1e28f1a094742434474ebe4f5004bf0ce3 (patch)
tree4a903d2c90a5b6b6660009ceba227c563b50628b /sys/fs/ext2fs/ext2_extattr.c
parentb541ba195ccc4806d94348fa328d620e3261c05a (diff)
downloadsrc-b394cd1e28f1a094742434474ebe4f5004bf0ce3.tar.gz
src-b394cd1e28f1a094742434474ebe4f5004bf0ce3.zip
Add inital extents read-write support.
Approved by: pfg (mentor) MFC after: 6 months RelNotes: Yes Differential Revision: https://reviews.freebsd.org/D12087
Notes
Notes: svn path=/head/; revision=324706
Diffstat (limited to 'sys/fs/ext2fs/ext2_extattr.c')
-rw-r--r--sys/fs/ext2fs/ext2_extattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/ext2fs/ext2_extattr.c b/sys/fs/ext2fs/ext2_extattr.c
index d19d4a0daf6e..a86ffdfebff5 100644
--- a/sys/fs/ext2fs/ext2_extattr.c
+++ b/sys/fs/ext2fs/ext2_extattr.c
@@ -612,7 +612,7 @@ ext2_extattr_block_clone(struct inode *ip, struct buf **bpp)
if (header->h_magic != EXTATTR_MAGIC || header->h_refcount == 1)
return (EINVAL);
- facl = ext2_allocfacl(ip);
+ facl = ext2_alloc_meta(ip);
if (!facl)
return (ENOSPC);
@@ -1137,7 +1137,7 @@ ext2_extattr_block_set(struct inode *ip, int attrnamespace,
return (ENOSPC);
/* Allocate block, fill EA header and insert entry */
- ip->i_facl = ext2_allocfacl(ip);
+ ip->i_facl = ext2_alloc_meta(ip);
if (0 == ip->i_facl)
return (ENOSPC);