diff options
-rw-r--r-- | libdiskfs/node-drop.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libdiskfs/node-drop.c b/libdiskfs/node-drop.c index 5920e391..d24bd86d 100644 --- a/libdiskfs/node-drop.c +++ b/libdiskfs/node-drop.c @@ -33,7 +33,10 @@ diskfs_drop_node (struct node *np) if (np->istranslated) diskfs_set_translator (np, 0, 0, 0); - if (np->allocsize != 0) + if (np->allocsize != 0 + || (diskfs_create_symlink_hook + && S_ISLNK (np->dn_stat.st_mode) + && np->dn_stat.st_size)) { /* If the node needs to be truncated, then a complication arises, because truncation might require gaining |