lkml.org 
[lkml]   [2002]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: isofs unhide option: troubles with Wine
Hi,

On Sun, 9 Jun 2002, Francois Gouget wrote:
> 2. or should it completely ignore the 'hidden' bit?

I already _had_ a patch which did exactly this.

Regards,
Thunder

--- linux-2.5.20/fs/isofs/namei.c Sun Jun 2 19:44:52 2002
+++ thunder-2.5.20/fs/isofs/namei.c Mon Jun 3 17:27:38 2002
@@ -139,20 +139,8 @@
dpnt = tmpname;
}

- /*
- * Skip hidden or associated files unless unhide is set
- */
- match = 0;
- if (dlen > 0 &&
- (!(de->flags[-sbi->s_high_sierra] & 5)
- || sbi->s_unhide == 'y'))
- {
- match = (isofs_cmp(dentry,dpnt,dlen) == 0);
- }
- if (match) {
- if (bh) brelse(bh);
- return inode_number;
- }
+ if (bh) brelse(bh);
+ return inode_number;
}
if (bh) brelse(bh);
return 0;
--- linux-2.5.20/fs/isofs/dir.c Sun Jun 2 19:44:45 2002
+++ thunder-2.5.20/fs/isofs/dir.c Mon Jun 3 17:32:30 2002
@@ -192,16 +192,6 @@
continue;
}

- /* Handle everything else. Do name translation if there
- is no Rock Ridge NM field. */
- if (sbi->s_unhide == 'n') {
- /* Do not report hidden or associated files */
- if (de->flags[-sbi->s_high_sierra] & 5) {
- filp->f_pos += de_len;
- continue;
- }
- }
-
map = 1;
if (sbi->s_rock) {
len = get_rock_ridge_filename(de, tmpname, inode);
--
German attitude becoming | Thunder from the hill at ngforever
rightaway popular: |
"Get outa my way, | free inhabitant not directly
for I got a mobile phone!" | belonging anywhere
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.058 / U:0.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site