diff options
-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); |