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

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