patch-2.2.17 linux/fs/ntfs/util.c
Next file: linux/fs/proc/array.c
Previous file: linux/fs/ntfs/super.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Sep 4 18:39:27 2000
- Orig file:
v2.2.16/fs/ntfs/util.c
- Orig date:
Mon Sep 4 18:37:10 2000
diff -u --recursive --new-file v2.2.16/fs/ntfs/util.c linux/fs/ntfs/util.c
@@ -266,6 +266,8 @@
return -1;
if(b[i]<a[i])
return 1;
+ if (a[i] == 0)
+ return 0;
}
return 0;
}
@@ -281,6 +283,8 @@
return -1;
if(b[i]<NTFS_GETU16(a+i))
return 1;
+ if (b[i] == 0)
+ return 0;
}
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)