vfs_gpfs: move failure label before END_PROFILE
authorRalph Boehme <slow@samba.org>
Thu, 30 Apr 2015 10:29:57 +0000 (12:29 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 20 May 2015 14:34:30 +0000 (16:34 +0200)
The label was added in 5e65ae14ddb74c648f31b4dfbacd4af9c02ca058 as part
of fix for bug 11244, but was wrongly placed behind END_PROFILE.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11244

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu May  7 19:22:00 CEST 2015 on sn-devel-104

(cherry picked from commit 3876e59826ad17466975ae9e9a65879c76737b2b)

source3/modules/vfs_gpfs.c

index baf39b02cb2557d4bb61aab30dc134f218546719..11e6506a8e7eb5721ee3dd25e08e5f4a43168cf3 100644 (file)
@@ -134,9 +134,9 @@ static int vfs_gpfs_setlease(vfs_handle_struct *handle, files_struct *fsp,
                unbecome_root();
        }
 
+failure:
        END_PROFILE(syscall_linux_setlease);
 
-failure:
        return ret;
 }