diff options
author | Miles Bader <miles@gnu.org> | 1996-11-19 22:52:31 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-11-19 22:52:31 +0000 |
commit | c1655341f1fb47ca36cafed8886d54729ad3b806 (patch) | |
tree | 6e0bec9a84a00fa7d6e7c1d354a5839d3153fd6f | |
parent | 9f84aa4c9a1a2e5677b1d42fe67c8a64d919394d (diff) |
(diskfs_S_dir_rmdir):
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
-rw-r--r-- | libdiskfs/dir-rmdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/dir-rmdir.c b/libdiskfs/dir-rmdir.c index 69ba5138..9a07a319 100644 --- a/libdiskfs/dir-rmdir.c +++ b/libdiskfs/dir-rmdir.c @@ -62,7 +62,7 @@ diskfs_S_dir_rmdir (struct protid *dircred, return EINVAL; } - if (np->istranslated || fshelp_translated (&np->transbox)) + if ((np->dn_stat.st_mode & S_IPTRANS) || fshelp_translated (&np->transbox)) { diskfs_drop_dirstat (dnp, ds); diskfs_nput (np); |