UBIFS: increment commit number earlier
[linux-2.6-block.git] / fs / ubifs / ubifs.h
index 6ddd1de2ea6493722f0846cf8c975cc5d8d01ad4..21502b6040f069e8aab97af987d895dcca8ddd42 100644 (file)
@@ -865,7 +865,8 @@ struct ubifs_mount_opts {
  * @highest_inum: highest used inode number
  * @vfs_gen: VFS inode generation counter
  * @max_sqnum: current global sequence number
- * @cmt_no: commit number (last successfully completed commit)
+ * @cmt_no: commit number of the last successfully completed commit, protected
+ *          by @commit_sem
  * @cnt_lock: protects @highest_inum, @vfs_gen, and @max_sqnum counters
  * @fmt_version: UBIFS on-flash format version
  * @uuid: UUID from super block