summaryrefslogtreecommitdiffstats
path: root/fs/sysv
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-01-29 01:41:54 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-01-29 01:41:54 +0000
commitf969d69ba9f952e5bdd38278e25e26a3e4a61a70 (patch)
treeb3530d803df59d726afaabebc6626987dee1ca05 /fs/sysv
parenta10ce7ef2066b455d69187643ddf2073bfc4db24 (diff)
Merge with 2.3.27.
Diffstat (limited to 'fs/sysv')
-rw-r--r--fs/sysv/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysv/namei.c b/fs/sysv/namei.c
index e27ac8d83..2a1626bdd 100644
--- a/fs/sysv/namei.c
+++ b/fs/sysv/namei.c
@@ -324,7 +324,7 @@ static int empty_dir(struct inode * inode)
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;