nilfs2: add omitted comments for different structures in driver implementation

Add omitted comments for different structures in driver implementation.

Signed-off-by: Vyacheslav Dubeyko <slava@dubeyko.com>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Vyacheslav Dubeyko
2012-07-30 14:42:10 -07:00
committed by Linus Torvalds
parent 8c74ac0557
commit f5974c8f8c
11 changed files with 81 additions and 10 deletions

View File

@@ -135,6 +135,13 @@ struct nilfs_bmap {
/* state */
#define NILFS_BMAP_DIRTY 0x00000001
/**
* struct nilfs_bmap_store - shadow copy of bmap state
* @data: cached raw block mapping of on-disk inode
* @last_allocated_key: cached value of last allocated key for data block
* @last_allocated_ptr: cached value of last allocated ptr for data block
* @state: cached value of state field of bmap structure
*/
struct nilfs_bmap_store {
__le64 data[NILFS_BMAP_SIZE / sizeof(__le64)];
__u64 last_allocated_key;