virtio-9p: fix compilation error on Mac OS X. 56/20856/1
authorKitae Kim <kt920.kim@samsung.com>
Tue, 13 May 2014 08:10:02 +0000 (17:10 +0900)
committerKitae Kim <kt920.kim@samsung.com>
Tue, 13 May 2014 08:10:02 +0000 (17:10 +0900)
Change-Id: Iab0dc5472a993dcf392bcdd084154cab6baab238
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
hw/9pfs/virtio-9p-posix-acl.c

index 9bbcfb5..027c0b7 100644 (file)
@@ -65,8 +65,6 @@ static int mp_pacl_setxattr(FsContext *ctx, const char *path, const char *name,
     int ret;
 
     buffer = rpath(ctx, path);
-    ret = lsetxattr(buffer, MAP_ACL_ACCESS, value, size, flags);
-
 #ifdef CONFIG_LINUX
     ret = lsetxattr(buffer, MAP_ACL_ACCESS, value, size, flags);
 #else