git » libjio » commit 0f91cd1

manpage: Tell about struct jtrans flags' possible values after a commit

author Alberto Bertogli
2009-04-03 04:12:36 UTC
committer Alberto Bertogli
2009-04-03 04:29:40 UTC
parent c45975ce52868eb24fb8e7c9afa35eda6a22e80a

manpage: Tell about struct jtrans flags' possible values after a commit

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

libjio/libjio.3 +6 -1

diff --git a/libjio/libjio.3 b/libjio/libjio.3
index defac0e..dcdf8fc 100644
--- a/libjio/libjio.3
+++ b/libjio/libjio.3
@@ -201,7 +201,12 @@ will be applied in order.
 .B jtrans_commit()
 commits the given transaction to disk. After it has returned, data has been
 saved to the disk. It returns the number of bytes written or -1 if there was
-an error. The commit operation is atomic with regards to other read or write
+an error. On an error, the
+.B flags
+field of the
+.B jtrans
+structure will have the J_ROLLBACKED set if the transaction was successfuly
+rollbacked. The commit operation is atomic with regards to other read or write
 operations on different processes, as long as they all access it via libjio.
 
 .B jtrans_rollback()