From 09dd3c34bc7fdc37fb57e7c5c8e568eef8c373c0 Mon Sep 17 00:00:00 2001 From: szaka Date: Wed, 8 Nov 2006 20:27:45 +0000 Subject: [PATCH] ntfs_fuse_removexattr(): reorder free space outdating --- src/ntfs-3g.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ntfs-3g.c b/src/ntfs-3g.c index 9e9b6fe6..45977dc9 100644 --- a/src/ntfs-3g.c +++ b/src/ntfs-3g.c @@ -1475,11 +1475,12 @@ static int ntfs_fuse_removexattr(const char *path, const char *name) res = -ENODATA; goto exit; } - ntfs_fuse_mark_free_space_outdated(); if (ntfs_attr_rm(na)) res = -errno; ntfs_attr_close(na); + + ntfs_fuse_mark_free_space_outdated(); exit: free(lename); if (ntfs_inode_close(ni))