]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/fs.h
Update bcachefs sources to 9d554fa16d bcachefs: Add .to_text() methods for all superb...
[bcachefs-tools-debian] / libbcachefs / fs.h
index 27aacd7e28646544e3983fb0935580744b0400c6..b2211ec7f3028600a941014057440dc3dc056c7a 100644 (file)
@@ -64,6 +64,12 @@ static inline subvol_inum inode_inum(struct bch_inode_info *inode)
  */
 #define EI_INODE_ERROR                 0
 
+/*
+ * Set in the inode is in a snapshot subvolume - we don't do quota accounting in
+ * those:
+ */
+#define EI_INODE_SNAPSHOT              1
+
 #define to_bch_ei(_inode)                                      \
        container_of_or_null(_inode, struct bch_inode_info, v)