diff options
Diffstat (limited to 'fs/gfs2/quota.c')
-rw-r--r-- | fs/gfs2/quota.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index 138fdf559a9a..7b5573946f19 100644 --- a/fs/gfs2/quota.c +++ b/fs/gfs2/quota.c | |||
@@ -572,7 +572,7 @@ static void do_qc(struct gfs2_quota_data *qd, int64_t change) | |||
572 | static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc, | 572 | static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc, |
573 | int64_t change, struct gfs2_quota_data *qd) | 573 | int64_t change, struct gfs2_quota_data *qd) |
574 | { | 574 | { |
575 | struct inode *inode = gfs2_ip2v(ip); | 575 | struct inode *inode = ip->i_vnode; |
576 | struct address_space *mapping = inode->i_mapping; | 576 | struct address_space *mapping = inode->i_mapping; |
577 | unsigned long index = loc >> PAGE_CACHE_SHIFT; | 577 | unsigned long index = loc >> PAGE_CACHE_SHIFT; |
578 | unsigned offset = loc & (PAGE_CACHE_SHIFT - 1); | 578 | unsigned offset = loc & (PAGE_CACHE_SHIFT - 1); |