diff options
author | David Sterba <dsterba@suse.com> | 2017-08-22 20:34:36 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-09-08 16:15:05 +0200 |
commit | c05c70c77ca797549e45c971bc3c02bb3ec79e6e (patch) | |
tree | 7c387f6a3c311ef9da0380125d029efb6e0c04f2 /convert/source-fs.h | |
parent | 385bbf35e245bfa71c83d6c41e563ce4ed22663e (diff) |
btrfs-progs: convert: move acl helper to common source file
There were 2 copies of ext2_acl_count and acl_ea_size.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'convert/source-fs.h')
-rw-r--r-- | convert/source-fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/convert/source-fs.h b/convert/source-fs.h index a2b21982..bc693162 100644 --- a/convert/source-fs.h +++ b/convert/source-fs.h @@ -102,6 +102,8 @@ static inline size_t acl_ea_size(int count) return sizeof(acl_ea_header) + count * sizeof(acl_ea_entry); } +int ext2_acl_count(size_t size); + struct btrfs_convert_operations { const char name[SOURCE_FS_NAME_LEN]; int (*open_fs)(struct btrfs_convert_context *cctx, const char *devname); |