patch-2.1.37 linux/fs/isofs/inode.c
Next file: linux/fs/lockd/svcsubs.c
Previous file: linux/fs/inode.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Tue May 13 11:41:47 1997
- Orig file:
v2.1.36/linux/fs/isofs/inode.c
- Orig date:
Wed Apr 23 19:01:25 1997
diff -u --recursive --new-file v2.1.36/linux/fs/isofs/inode.c linux/fs/isofs/inode.c
@@ -138,13 +138,7 @@
!strcmp(this_char,"uid") ||
!strcmp(this_char,"gid"))) {
char * vpnt = value;
- unsigned int ivalue;
- ivalue = 0;
- while(*vpnt){
- if(*vpnt < '0' || *vpnt > '9') break;
- ivalue = ivalue * 10 + (*vpnt - '0');
- vpnt++;
- }
+ unsigned int ivalue = simple_strtoul(vpnt, &vpnt, 0);
if (*vpnt) return 0;
switch(*this_char) {
case 'b':
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov