diff --git a/libntfs-3g/dir.c b/libntfs-3g/dir.c index 8633c7d9..e95eff52 100644 --- a/libntfs-3g/dir.c +++ b/libntfs-3g/dir.c @@ -2157,11 +2157,6 @@ static int ntfs_link_i(ntfs_inode *ni, ntfs_inode *dir_ni, const ntfschar *name, goto err_out; } - if ((ni->flags & FILE_ATTR_REPARSE_POINT) - && !ntfs_possible_symlink(ni)) { - err = EOPNOTSUPP; - goto err_out; - } if (NVolHideDotFiles(dir_ni->vol)) { /* Set hidden flag according to the latest name */ if ((name_len > 1) diff --git a/libntfs-3g/index.c b/libntfs-3g/index.c index d93b1b3d..645b74d3 100644 --- a/libntfs-3g/index.c +++ b/libntfs-3g/index.c @@ -1856,13 +1856,6 @@ int ntfs_index_remove(ntfs_inode *dir_ni, ntfs_inode *ni, if (ntfs_index_lookup(key, keylen, icx)) goto err_out; - if ((((FILE_NAME_ATTR *)icx->data)->file_attributes & - FILE_ATTR_REPARSE_POINT) - && !ntfs_possible_symlink(ni)) { - errno = EOPNOTSUPP; - goto err_out; - } - ret = ntfs_index_rm(icx); if (ret == STATUS_ERROR) goto err_out;