patch-2.3.26 linux/fs/sysv/namei.c
Next file: linux/fs/udf/super.c
Previous file: linux/fs/read_write.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Nov 6 09:51:19 1999
- Orig file:
v2.3.25/linux/fs/sysv/namei.c
- Orig date:
Sat May 15 23:43:05 1999
diff -u --recursive --new-file v2.3.25/linux/fs/sysv/namei.c linux/fs/sysv/namei.c
@@ -324,7 +324,7 @@
block = 0;
bh = NULL;
pos = offset = 2*SYSV_DIRSIZE;
- if (inode->i_size % SYSV_DIRSIZE)
+ if ((unsigned long)(inode->i_size) % SYSV_DIRSIZE)
goto bad_dir;
if (inode->i_size < pos)
goto bad_dir;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)