Fixed checking for write errors in setxattr()

PERMISSION_HANDLING_BRANCH
Jean-Pierre André 2010-07-22 15:03:52 +02:00
parent f76d0aacf1
commit acccb62f9f
2 changed files with 4 additions and 2 deletions

View File

@ -3170,7 +3170,8 @@ static void ntfs_fuse_setxattr(fuse_req_t req, fuse_ino_t ino, const char *name,
ntfs_attr *na = NULL;
ntfschar *lename = NULL;
int res, lename_len;
size_t part, total;
size_t total;
s64 part;
int attr;
int namespace;
struct SECURITY_CONTEXT security;

View File

@ -3092,7 +3092,8 @@ static int ntfs_fuse_setxattr(const char *path, const char *name,
ntfs_attr *na = NULL;
ntfschar *lename = NULL;
int res, lename_len;
size_t part, total;
size_t total;
s64 part;
int attr;
int namespace;
struct SECURITY_CONTEXT security;