X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fext4%2Fext4_i.h;h=ef7409f0e7e475fde5afb303b68cdcd7c05e8b1c;hb=5adf2b03d97111c8955495ba11e8b7db27df8695;hp=c2903ef72159f0d435127e3dfc3703dff701eabd;hpb=678aaf481496b01473b778685eca231d6784098b;p=linux-2.6 diff --git a/fs/ext4/ext4_i.h b/fs/ext4/ext4_i.h index c2903ef721..ef7409f0e7 100644 --- a/fs/ext4/ext4_i.h +++ b/fs/ext4/ext4_i.h @@ -163,6 +163,13 @@ struct ext4_inode_info { /* mballoc */ struct list_head i_prealloc_list; spinlock_t i_prealloc_lock; + + /* allocation reservation info for delalloc */ + unsigned long i_reserved_data_blocks; + unsigned long i_reserved_meta_blocks; + unsigned long i_allocated_meta_blocks; + unsigned short i_delalloc_reserved_flag; + spinlock_t i_block_reservation_lock; }; #endif /* _EXT4_I */