-
- Downloads
ext4: Fix bigalloc quota accounting and i_blocks value
With bigalloc changes, the i_blocks value was not correctly set (it was still set to number of blocks being used, but in case of bigalloc, we want i_blocks to represent the number of clusters being used). Since the quota subsystem sets the i_blocks value, this patch fixes the quota accounting and makes sure that the i_blocks value is set correctly. Signed-off-by:Aditya Kali <adityakali@google.com> Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
Showing
- fs/ext4/balloc.c 3 additions, 2 deletionsfs/ext4/balloc.c
- fs/ext4/ext4.h 15 additions, 1 deletionfs/ext4/ext4.h
- fs/ext4/ext4_extents.h 2 additions, 0 deletionsfs/ext4/ext4_extents.h
- fs/ext4/extents.c 302 additions, 4 deletionsfs/ext4/extents.c
- fs/ext4/inode.c 39 additions, 15 deletionsfs/ext4/inode.c
- fs/ext4/mballoc.c 3 additions, 2 deletionsfs/ext4/mballoc.c
- fs/ext4/super.c 2 additions, 1 deletionfs/ext4/super.c
Loading
Please register or sign in to comment