diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-09-05 05:16:50 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-05 05:16:50 -0400 |
commit | 586a4ac509b041df55f26c2b26cd7cbdaf9b045d (patch) | |
tree | dd91fe472070836465da7901f22869b54b2999b8 /fs/jfs/namei.c | |
parent | 374b1873571bf80dc0c1fcceaaad067980f3b9de (diff) | |
parent | 6b39374a27eb4be7e9d82145ae270ba02ea90dc8 (diff) | |
download | kernel_samsung_espresso10-586a4ac509b041df55f26c2b26cd7cbdaf9b045d.zip kernel_samsung_espresso10-586a4ac509b041df55f26c2b26cd7cbdaf9b045d.tar.gz kernel_samsung_espresso10-586a4ac509b041df55f26c2b26cd7cbdaf9b045d.tar.bz2 |
/spare/repo/libata-dev branch 'master'
Diffstat (limited to 'fs/jfs/namei.c')
-rw-r--r-- | fs/jfs/namei.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/jfs/namei.c b/fs/jfs/namei.c index 1cae14e..49ccde3 100644 --- a/fs/jfs/namei.c +++ b/fs/jfs/namei.c @@ -1390,6 +1390,8 @@ static struct dentry *jfs_lookup(struct inode *dip, struct dentry *dentry, struc jfs_info("jfs_lookup: name = %s", name); + if (JFS_SBI(dip->i_sb)->mntflag & JFS_OS2) + dentry->d_op = &jfs_ci_dentry_operations; if ((name[0] == '.') && (len == 1)) inum = dip->i_ino; @@ -1417,9 +1419,6 @@ static struct dentry *jfs_lookup(struct inode *dip, struct dentry *dentry, struc return ERR_PTR(-EACCES); } - if (JFS_SBI(dip->i_sb)->mntflag & JFS_OS2) - dentry->d_op = &jfs_ci_dentry_operations; - dentry = d_splice_alias(ip, dentry); if (dentry && (JFS_SBI(dip->i_sb)->mntflag & JFS_OS2)) |