diff options
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r-- | fs/ext4/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index ab7010dde1b5..6302b036c121 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -2914,7 +2914,7 @@ static ssize_t ext4_quota_read(struct super_block *sb, int type, char *data, | |||
2914 | size_t len, loff_t off) | 2914 | size_t len, loff_t off) |
2915 | { | 2915 | { |
2916 | struct inode *inode = sb_dqopt(sb)->files[type]; | 2916 | struct inode *inode = sb_dqopt(sb)->files[type]; |
2917 | sector_t blk = off >> EXT4_BLOCK_SIZE_BITS(sb); | 2917 | ext4_lblk_t blk = off >> EXT4_BLOCK_SIZE_BITS(sb); |
2918 | int err = 0; | 2918 | int err = 0; |
2919 | int offset = off & (sb->s_blocksize - 1); | 2919 | int offset = off & (sb->s_blocksize - 1); |
2920 | int tocopy; | 2920 | int tocopy; |
@@ -2952,7 +2952,7 @@ static ssize_t ext4_quota_write(struct super_block *sb, int type, | |||
2952 | const char *data, size_t len, loff_t off) | 2952 | const char *data, size_t len, loff_t off) |
2953 | { | 2953 | { |
2954 | struct inode *inode = sb_dqopt(sb)->files[type]; | 2954 | struct inode *inode = sb_dqopt(sb)->files[type]; |
2955 | sector_t blk = off >> EXT4_BLOCK_SIZE_BITS(sb); | 2955 | ext4_lblk_t blk = off >> EXT4_BLOCK_SIZE_BITS(sb); |
2956 | int err = 0; | 2956 | int err = 0; |
2957 | int offset = off & (sb->s_blocksize - 1); | 2957 | int offset = off & (sb->s_blocksize - 1); |
2958 | int tocopy; | 2958 | int tocopy; |