From 41d23fba0568aed2fcc7914b0f05f19ddbf50960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= Date: Tue, 25 May 2010 10:14:15 +0200 Subject: [PATCH] removed unneeded synchronizations --- libntfs-3g/security.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libntfs-3g/security.c b/libntfs-3g/security.c index 11df14e7..ecf3ca07 100644 --- a/libntfs-3g/security.c +++ b/libntfs-3g/security.c @@ -1101,7 +1101,6 @@ static int update_secur_descr(ntfs_volume *vol, /* mark node as dirty */ NInoSetDirty(ni); - ntfs_inode_sync(ni); /* useful ? */ return (res); } @@ -1170,9 +1169,8 @@ static int upgrade_secur_desc(ntfs_volume *vol, } } else res = -1; - /* mark node as dirty */ - NInoSetDirty(ni); - ntfs_inode_sync(ni); /* useful ? */ + /* mark node as dirty */ + NInoSetDirty(ni); } else res = 1;