diff options
author | Miles Bader <miles@gnu.org> | 1997-06-20 05:49:02 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-06-20 05:49:02 +0000 |
commit | e52c6513af0ef545d16c3deb4441baa9c0253851 (patch) | |
tree | a08fff5e12284e9b3fc7f5efbf221c21fb7ae592 /libnetfs | |
parent | f7f97906e236c992b0deb3f9d86b4413bf03ec64 (diff) |
(netfs_S_dir_lookup):
Use S_IPTRANS bit in nn_stat st_mode field rather than istranslated field.
Diffstat (limited to 'libnetfs')
-rw-r--r-- | libnetfs/dir-lookup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/dir-lookup.c b/libnetfs/dir-lookup.c index bce49d57..f6b78afd 100644 --- a/libnetfs/dir-lookup.c +++ b/libnetfs/dir-lookup.c @@ -189,7 +189,7 @@ netfs_S_dir_lookup (struct protid *diruser, goto out; if ((((flags & O_NOTRANS) == 0) || !lastcomp) - && (np->istranslated + && ((np->nn_stat.st_mode & S_IPTRANS) || S_ISFIFO (np->nn_stat.st_mode) || S_ISCHR (np->nn_stat.st_mode) || S_ISBLK (np->nn_stat.st_mode) @@ -254,7 +254,7 @@ netfs_S_dir_lookup (struct protid *diruser, dirport, diruser->user, lastcomp ? flags : 0, - (np->istranslated + ((np->nn_stat.st_mode & S_IPTRANS) ? _netfs_translator_callback1 : short_circuited_callback1), _netfs_translator_callback2, |