summaryrefslogtreecommitdiffstats
path: root/fs/ext4/xattr.h
diff options
context:
space:
mode:
authorTahsin Erdogan2017-06-22 16:28:38 +0200
committerTheodore Ts'o2017-06-22 16:28:38 +0200
commitb6d9029df083c0a9ce1d4eda1480105e635e0d61 (patch)
treebd7cee2cdb7aabbe711fd45004247834b5e895c0 /fs/ext4/xattr.h
parentext4: modify ext4_xattr_ino_array to hold struct inode * (diff)
downloadkernel-qcow2-linux-b6d9029df083c0a9ce1d4eda1480105e635e0d61.tar.gz
kernel-qcow2-linux-b6d9029df083c0a9ce1d4eda1480105e635e0d61.tar.xz
kernel-qcow2-linux-b6d9029df083c0a9ce1d4eda1480105e635e0d61.zip
ext4: move struct ext4_xattr_inode_array to xattr.h
Since this is a xattr specific data structure it is cleaner to keep it in xattr header file. Signed-off-by: Tahsin Erdogan <tahsin@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/xattr.h')
-rw-r--r--fs/ext4/xattr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/ext4/xattr.h b/fs/ext4/xattr.h
index 323eba54f72f..adf761518a73 100644
--- a/fs/ext4/xattr.h
+++ b/fs/ext4/xattr.h
@@ -117,6 +117,11 @@ struct ext4_xattr_ibody_find {
struct ext4_iloc iloc;
};
+struct ext4_xattr_inode_array {
+ unsigned int count; /* # of used items in the array */
+ struct inode *inodes[0];
+};
+
extern const struct xattr_handler ext4_xattr_user_handler;
extern const struct xattr_handler ext4_xattr_trusted_handler;
extern const struct xattr_handler ext4_xattr_security_handler;