Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.26-rc9 /fs/quota_v1.c

Filename:/fs/quota_v1.c
Lines Added:3
Lines Deleted:0
Also changed in: (Previous) 2.6.26-rc8  2.6.26-rc7  2.6.26-rc6  2.6.26-rc5  2.6.26-rc4  2.6.26-rc3 
(Following) 2.6.26  2.6.26-git13  2.6.26-git14  2.6.26-git15  2.6.26-git16  2.6.26-git17 

Location
[  2.6.26-rc9
  [  fs
     o  quota_v1.c

Patch

diff --git a/fs/quota_v1.c b/fs/quota_v1.c
index f3841f2..a6cf926 100644
--- a/fs/quota_v1.c
+++ b/fs/quota_v1.c
@@ -139,6 +139,9 @@ static int v1_read_file_info(struct super_block *sb, int type)
       goto out;
    }
    ret = 0;
+   /* limits are stored as unsigned 32-bit data */
+   dqopt->info[type].dqi_maxblimit = 0xffffffff;
+   dqopt->info[type].dqi_maxilimit = 0xffffffff;
    dqopt->info[type].dqi_igrace = dqblk.dqb_itime ? dqblk.dqb_itime : MAX_IQ_TIME;
    dqopt->info[type].dqi_bgrace = dqblk.dqb_btime ? dqblk.dqb_btime : MAX_DQ_TIME;
 out:


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.