patch-2.4.23 linux-2.4.23/fs/quota_v1.c
Next file: linux-2.4.23/fs/ramfs/inode.c
Previous file: linux-2.4.23/fs/proc/proc_misc.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/fs/quota_v1.c
- Orig date:
2003-08-25 04:44:43.000000000 -0700
diff -urN linux-2.4.22/fs/quota_v1.c linux-2.4.23/fs/quota_v1.c
@@ -17,7 +17,7 @@
m->dqb_curinodes = d->dqb_curinodes;
m->dqb_bhardlimit = d->dqb_bhardlimit;
m->dqb_bsoftlimit = d->dqb_bsoftlimit;
- m->dqb_curspace = d->dqb_curblocks << QUOTABLOCK_BITS;
+ m->dqb_curspace = ((qsize_t)d->dqb_curblocks) << QUOTABLOCK_BITS;
m->dqb_itime = d->dqb_itime;
m->dqb_btime = d->dqb_btime;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)