[Concept,08/16] ext4l: Move qsize_t to linux/quotaops.h

Message ID 20260119214846.3087611-9-sjg@u-boot.org
State New
Headers
Series ext4l: Move definitions to standard Linux headers |

Commit Message

Simon Glass Jan. 19, 2026, 9:48 p.m. UTC
  From: Simon Glass <simon.glass@canonical.com>

Move the qsize_t typedef to include/linux/quotaops.h where it belongs
with other quota-related definitions.

Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
---

 fs/ext4l/ext4_uboot.h    | 3 +--
 include/linux/quotaops.h | 3 +++
 2 files changed, 4 insertions(+), 2 deletions(-)
  

Patch

diff --git a/fs/ext4l/ext4_uboot.h b/fs/ext4l/ext4_uboot.h
index 91d432d391d..79d70d78bfd 100644
--- a/fs/ext4l/ext4_uboot.h
+++ b/fs/ext4l/ext4_uboot.h
@@ -383,8 +383,7 @@  struct readahead_control;
 struct fiemap_extent_info;
 struct folio;
 
-/* qsize_t - quota size type */
-typedef long long qsize_t;
+/* qsize_t is in linux/quotaops.h */
 
 /* blk_opf_t is in linux/blk_types.h */
 
diff --git a/include/linux/quotaops.h b/include/linux/quotaops.h
index b96e33887b8..ff455f4da7b 100644
--- a/include/linux/quotaops.h
+++ b/include/linux/quotaops.h
@@ -13,6 +13,9 @@ 
 
 #include <linux/types.h>
 
+/* qsize_t - quota size type for tracking disk space usage */
+typedef long long qsize_t;
+
 struct inode;
 struct dentry;
 struct kqid;