summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/sufile.c
diff options
context:
space:
mode:
authorVyacheslav Dubeyko <slava@dubeyko.com>2012-07-30 23:42:10 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-31 02:25:19 +0200
commitf5974c8f8cf431baf44e7127b669e3b1960f184f (patch)
tree93df5ca85bdb49be8dd6d2ce46e10fb1d6cc9411 /fs/nilfs2/sufile.c
parentnilfs2: add omitted comments for structures in nilfs2_fs.h (diff)
downloadlinux-f5974c8f8cf431baf44e7127b669e3b1960f184f.tar.xz
linux-f5974c8f8cf431baf44e7127b669e3b1960f184f.zip
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>
Diffstat (limited to 'fs/nilfs2/sufile.c')
-rw-r--r--fs/nilfs2/sufile.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/nilfs2/sufile.c b/fs/nilfs2/sufile.c
index c5b7653a4391..3127e9f438a7 100644
--- a/fs/nilfs2/sufile.c
+++ b/fs/nilfs2/sufile.c
@@ -30,7 +30,13 @@
#include "mdt.h"
#include "sufile.h"
-
+/**
+ * struct nilfs_sufile_info - on-memory private data of sufile
+ * @mi: on-memory private data of metadata file
+ * @ncleansegs: number of clean segments
+ * @allocmin: lower limit of allocatable segment range
+ * @allocmax: upper limit of allocatable segment range
+ */
struct nilfs_sufile_info {
struct nilfs_mdt_info mi;
unsigned long ncleansegs;/* number of clean segments */