summaryrefslogtreecommitdiffstats
path: root/fs/nametrans.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-12-16 05:34:03 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-12-16 05:34:03 +0000
commit967c65a99059fd459b956c1588ce0ba227912c4e (patch)
tree8224d013ff5d255420713d05610c7efebd204d2a /fs/nametrans.c
parente20c1cc1656a66a2773bca4591a895cbc12696ff (diff)
Merge with Linux 2.1.72, part 1.
Diffstat (limited to 'fs/nametrans.c')
-rw-r--r--fs/nametrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nametrans.c b/fs/nametrans.c
index 15c98ed70..fbd456045 100644
--- a/fs/nametrans.c
+++ b/fs/nametrans.c
@@ -168,7 +168,7 @@ char* env_transl(void)
int i;
if(current && current->mm && (env = (char*)current->mm->env_start)
- && get_ds() != get_fs()
+ && !segment_eq(get_ds(), get_fs())
&& current->mm->env_end>=current->mm->env_start+10
&& !verify_area(VERIFY_READ,env,10)) {
for(i=0; i<10; i++) {