You've already forked linux-t2-patches
mirror of
https://github.com/t2linux/linux-t2-patches.git
synced 2026-04-30 13:52:11 -07:00
Update APFS driver to v0.3.16-2
This commit is contained in:
+11
-11
@@ -1,7 +1,7 @@
|
||||
From d41da6b5c426bc1c879bcc158c37384c3e07c70f Mon Sep 17 00:00:00 2001
|
||||
From 7ca15616cf4ffba0a96ab589920f0063d9f92f77 Mon Sep 17 00:00:00 2001
|
||||
From: "github-actions[bot]"
|
||||
<41898282+github-actions[bot]@users.noreply.github.com>
|
||||
Date: Sat, 27 Sep 2025 18:44:52 +0000
|
||||
Date: Tue, 28 Oct 2025 18:52:53 +0000
|
||||
Subject: [PATCH] Add APFS driver
|
||||
|
||||
---
|
||||
@@ -4673,7 +4673,7 @@ index 000000000..2e05e7a02
|
||||
+}
|
||||
diff --git a/fs/apfs/dir.c b/fs/apfs/dir.c
|
||||
new file mode 100644
|
||||
index 000000000..63507f6a5
|
||||
index 000000000..bc86e2ceb
|
||||
--- /dev/null
|
||||
+++ b/fs/apfs/dir.c
|
||||
@@ -0,0 +1,1504 @@
|
||||
@@ -4940,7 +4940,7 @@ index 000000000..63507f6a5
|
||||
+ *
|
||||
+ * Returns the length of the key, or a negative error code in case of failure.
|
||||
+ */
|
||||
+static int apfs_build_dentry_unhashed_key(struct qstr *qname, u64 parent_id,
|
||||
+static int apfs_build_dentry_unhashed_key(const struct qstr *qname, u64 parent_id,
|
||||
+ struct apfs_drec_key **key_p)
|
||||
+{
|
||||
+ struct apfs_drec_key *key;
|
||||
@@ -4969,7 +4969,7 @@ index 000000000..63507f6a5
|
||||
+ *
|
||||
+ * Returns the length of the key, or a negative error code in case of failure.
|
||||
+ */
|
||||
+static int apfs_build_dentry_hashed_key(struct qstr *qname, u64 hash, u64 parent_id,
|
||||
+static int apfs_build_dentry_hashed_key(const struct qstr *qname, u64 hash, u64 parent_id,
|
||||
+ struct apfs_drec_hashed_key **key_p)
|
||||
+{
|
||||
+ struct apfs_drec_hashed_key *key;
|
||||
@@ -5042,7 +5042,7 @@ index 000000000..63507f6a5
|
||||
+ *
|
||||
+ * Returns 0 on success or a negative error code in case of failure.
|
||||
+ */
|
||||
+static int apfs_create_dentry_rec(struct inode *inode, struct qstr *qname,
|
||||
+static int apfs_create_dentry_rec(struct inode *inode, const struct qstr *qname,
|
||||
+ u64 parent_id, u64 sibling_id)
|
||||
+{
|
||||
+ struct super_block *sb = inode->i_sb;
|
||||
@@ -5105,7 +5105,7 @@ index 000000000..63507f6a5
|
||||
+ struct apfs_sibling_val **val_p)
|
||||
+{
|
||||
+ struct apfs_sibling_val *val;
|
||||
+ struct qstr *qname = &dentry->d_name;
|
||||
+ const struct qstr *qname = &dentry->d_name;
|
||||
+ u16 namelen = qname->len + 1; /* We count the null-termination */
|
||||
+ struct inode *parent = d_inode(dentry->d_parent);
|
||||
+ int val_len;
|
||||
@@ -8793,7 +8793,7 @@ index 000000000..3e8a55897
|
||||
+};
|
||||
diff --git a/fs/apfs/inode.c b/fs/apfs/inode.c
|
||||
new file mode 100644
|
||||
index 000000000..2476c1b2c
|
||||
index 000000000..38f429956
|
||||
--- /dev/null
|
||||
+++ b/fs/apfs/inode.c
|
||||
@@ -0,0 +1,2594 @@
|
||||
@@ -9948,7 +9948,7 @@ index 000000000..2476c1b2c
|
||||
+ *
|
||||
+ * Returns the length of the value, or a negative error code in case of failure.
|
||||
+ */
|
||||
+static int apfs_build_inode_val(struct inode *inode, struct qstr *qname,
|
||||
+static int apfs_build_inode_val(struct inode *inode, const struct qstr *qname,
|
||||
+ struct apfs_inode_val **val_p)
|
||||
+{
|
||||
+ struct apfs_inode_val *val;
|
||||
@@ -26115,11 +26115,11 @@ index 000000000..e3b7edc51
|
||||
+#endif /* _APFS_UNICODE_H */
|
||||
diff --git a/fs/apfs/version.h b/fs/apfs/version.h
|
||||
new file mode 100644
|
||||
index 000000000..e0886e60f
|
||||
index 000000000..e16b23c10
|
||||
--- /dev/null
|
||||
+++ b/fs/apfs/version.h
|
||||
@@ -0,0 +1 @@
|
||||
+#define GIT_COMMIT "v0.3.16"
|
||||
+#define GIT_COMMIT ""
|
||||
diff --git a/fs/apfs/xattr.c b/fs/apfs/xattr.c
|
||||
new file mode 100644
|
||||
index 000000000..c21b8e469
|
||||
|
||||
Reference in New Issue
Block a user