From 95038a1cb06735b4877b9f22892eb9e3dbdc3cbd Mon Sep 17 00:00:00 2001 From: jpandre Date: Tue, 20 Nov 2007 15:23:33 +0000 Subject: [PATCH] Fixed a double close error --- src/ntfs-3g.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ntfs-3g.c b/src/ntfs-3g.c index 3360f6b7..fb6c00cb 100644 --- a/src/ntfs-3g.c +++ b/src/ntfs-3g.c @@ -817,7 +817,6 @@ static int ntfs_fuse_trunc(const char *org_path, off_t size, BOOL chkwrite) || (chkwrite && !ntfs_allowed_access(&security, path, ni, S_IWRITE)))) { errno = EACCES; - ntfs_attr_close(na); goto exit; }