Blame SOURCES/fuse-0001-More-parentheses.patch

c3fe0b
From 22ba14e45e84e0bd12a9ab1c9d0460b9ae27c10c Mon Sep 17 00:00:00 2001
c3fe0b
From: Peter Lemenkov <lemenkov@gmail.com>
c3fe0b
Date: Mon, 9 Aug 2010 12:10:40 +0400
c3fe0b
Subject: [PATCH 1/1] More parentheses
c3fe0b
c3fe0b
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
c3fe0b
---
c3fe0b
 lib/fuse.c          |    8 +++-----
c3fe0b
 lib/fuse_lowlevel.c |    2 +-
c3fe0b
 2 files changed, 4 insertions(+), 6 deletions(-)
c3fe0b
c3fe0b
diff --git a/lib/fuse.c b/lib/fuse.c
c3fe0b
index d511964..328ebba 100644
c3fe0b
--- a/lib/fuse.c
c3fe0b
+++ b/lib/fuse.c
c3fe0b
@@ -991,17 +991,15 @@ static int fuse_compat_open(struct fuse_fs *fs, const char *path,
c3fe0b
 {
c3fe0b
 	int err;
c3fe0b
 	if (!fs->compat || fs->compat >= 25)
c3fe0b
-		err = fs->op.open(path, fi);
c3fe0b
+		err = (fs->op.open)(path, fi);
c3fe0b
 	else if (fs->compat == 22) {
c3fe0b
 		struct fuse_file_info_compat tmp;
c3fe0b
 		memcpy(&tmp, fi, sizeof(tmp));
c3fe0b
-		err = ((struct fuse_operations_compat22 *) &fs->op)->open(path,
c3fe0b
-									  &tmp);
c3fe0b
+		err = (((struct fuse_operations_compat22 *) &fs->op)->open)(path, &tmp);
c3fe0b
 		memcpy(fi, &tmp, sizeof(tmp));
c3fe0b
 		fi->fh = tmp.fh;
c3fe0b
 	} else
c3fe0b
-		err = ((struct fuse_operations_compat2 *) &fs->op)
c3fe0b
-			->open(path, fi->flags);
c3fe0b
+		err = (((struct fuse_operations_compat2 *) &fs->op)->open)(path, fi->flags);
c3fe0b
 	return err;
c3fe0b
 }
c3fe0b
 
c3fe0b
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c
c3fe0b
index c86a910..4f19d61 100644
c3fe0b
--- a/lib/fuse_lowlevel.c
c3fe0b
+++ b/lib/fuse_lowlevel.c
c3fe0b
@@ -716,7 +716,7 @@ static void do_open(fuse_req_t req, fuse_ino_t nodeid, const void *inarg)
c3fe0b
 	fi.flags = arg->flags;
c3fe0b
 
c3fe0b
 	if (req->f->op.open)
c3fe0b
-		req->f->op.open(req, nodeid, &fi);
c3fe0b
+		(req->f->op.open)(req, nodeid, &fi);
c3fe0b
 	else
c3fe0b
 		fuse_reply_open(req, &fi);
c3fe0b
 }
c3fe0b
-- 
c3fe0b
1.7.9.3
c3fe0b