Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-17662 osd-zfs: Support for ZFS 2.2.3
[fs/lustre-release.git]
/
lustre
/
ofd
/
ofd_trans.c
diff --git
a/lustre/ofd/ofd_trans.c
b/lustre/ofd/ofd_trans.c
index
70d5218
..
367ca24
100644
(file)
--- a/
lustre/ofd/ofd_trans.c
+++ b/
lustre/ofd/ofd_trans.c
@@
-23,11
+23,10
@@
* Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
* Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
- * Copyright (c) 2012, 2014 Intel Corporation.
+ * Copyright (c) 2012, 2014
,
Intel Corporation.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
*/
/*
* This file is part of Lustre, http://www.lustre.org/
- * Lustre is a trademark of Sun Microsystems, Inc.
*
* lustre/ofd/ofd_trans.c
*
*
* lustre/ofd/ofd_trans.c
*
@@
-106,10
+105,13
@@
int ofd_trans_start(const struct lu_env *env, struct ofd_device *ofd,
* \param[in] ofd OFD device
* \param[in] th transaction handle
* \param[in] rc result code of whole operation
* \param[in] ofd OFD device
* \param[in] th transaction handle
* \param[in] rc result code of whole operation
+ *
+ * \retval 0 if successful
+ * \retval negative value if case of error
*/
*/
-
void
ofd_trans_stop(const struct lu_env *env, struct ofd_device *ofd,
+
int
ofd_trans_stop(const struct lu_env *env, struct ofd_device *ofd,
struct thandle *th, int rc)
{
th->th_result = rc;
struct thandle *th, int rc)
{
th->th_result = rc;
- dt_trans_stop(env, ofd->ofd_osd, th);
+
return
dt_trans_stop(env, ofd->ofd_osd, th);
}
}