File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -5585,10 +5585,7 @@ static int ext4_statfs_project(struct super_block *sb,
5585
5585
return PTR_ERR (dquot );
5586
5586
spin_lock (& dquot -> dq_dqb_lock );
5587
5587
5588
- limit = 0 ;
5589
- if (dquot -> dq_dqb .dqb_bsoftlimit &&
5590
- (!limit || dquot -> dq_dqb .dqb_bsoftlimit < limit ))
5591
- limit = dquot -> dq_dqb .dqb_bsoftlimit ;
5588
+ limit = dquot -> dq_dqb .dqb_bsoftlimit ;
5592
5589
if (dquot -> dq_dqb .dqb_bhardlimit &&
5593
5590
(!limit || dquot -> dq_dqb .dqb_bhardlimit < limit ))
5594
5591
limit = dquot -> dq_dqb .dqb_bhardlimit ;
@@ -5603,10 +5600,7 @@ static int ext4_statfs_project(struct super_block *sb,
5603
5600
(buf -> f_blocks - curblock ) : 0 ;
5604
5601
}
5605
5602
5606
- limit = 0 ;
5607
- if (dquot -> dq_dqb .dqb_isoftlimit &&
5608
- (!limit || dquot -> dq_dqb .dqb_isoftlimit < limit ))
5609
- limit = dquot -> dq_dqb .dqb_isoftlimit ;
5603
+ limit = dquot -> dq_dqb .dqb_isoftlimit ;
5610
5604
if (dquot -> dq_dqb .dqb_ihardlimit &&
5611
5605
(!limit || dquot -> dq_dqb .dqb_ihardlimit < limit ))
5612
5606
limit = dquot -> dq_dqb .dqb_ihardlimit ;
You can’t perform that action at this time.
0 commit comments