From 64f51e9588d9a91174f5d69437d038f92c126e0d Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Wed, 27 Mar 2019 22:32:56 +0200 Subject: (formatting) --- src/bindfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/bindfs.c') diff --git a/src/bindfs.c b/src/bindfs.c index b5455f1..332aa74 100644 --- a/src/bindfs.c +++ b/src/bindfs.c @@ -451,16 +451,16 @@ static int chown_new_file(const char *path, struct fuse_context *fc, int (*chown file_group = usermap_get_gid_or_default(settings.usermap_reverse, fc->gid, file_group); if (file_owner != (uid_t)-1) { - if (!unapply_uid_offset(&file_owner)) { + if (!unapply_uid_offset(&file_owner)) { return -UID_GID_OVERFLOW_ERRNO; - } + } } if (file_group != (gid_t)-1) { if (!unapply_gid_offset(&file_group)) { return -UID_GID_OVERFLOW_ERRNO; } - } + } if (settings.create_for_uid != -1) file_owner = settings.create_for_uid; -- cgit v1.2.3