]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
fix syncfs handling in error case
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 27 Nov 2012 15:54:40 +0000 (16:54 +0100)
committerSage Weil <sage@inktank.com>
Tue, 27 Nov 2012 16:52:52 +0000 (08:52 -0800)
commitd4bc3729fd99c4d4dbda9ce7b42c812d75d28c5d
tree5ba789e1635454822477926628784dde64981265
parent16215d9ca8a390e40344508f08d00fee4f5a0b94
fix syncfs handling in error case

If the call to syncfs() fails, don't try to call syncfs again via
syscall(). If HAVE_SYS_SYNCFS is defined, don't fall through to try
syscall() with SYS_syncfs or __NR_syncfs.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/common/sync_filesystem.h