vfs_gpfs: move failure label before END_PROFILE
authorRalph Boehme <slow@samba.org>
Thu, 30 Apr 2015 10:29:57 +0000 (12:29 +0200)
committerRalph Böhme <slow@samba.org>
Thu, 7 May 2015 17:22:00 +0000 (19:22 +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>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu May  7 19:22:00 CEST 2015 on sn-devel-104

source3/modules/vfs_gpfs.c

index 4f2da203c36b57ca03d3f9ace86b491ba82638a5..9ad8fbcc2b5ab418a039b1701a877bbf8d5c1adc 100644 (file)
@@ -219,9 +219,9 @@ static int vfs_gpfs_setlease(vfs_handle_struct *handle, files_struct *fsp,
                unbecome_root();
        }
 
+failure:
        END_PROFILE(syscall_linux_setlease);
 
-failure:
        return ret;
 }