summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/nodelist.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-05-01 11:15:28 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-01 11:15:28 -0700
commit2c4aabcca847ac4c92aa5e960c3f6053e1051b62 (patch)
tree756481631c3375d6a1b07233013efa12d8aa3725 /fs/jffs2/nodelist.h
parentbcf35afb528109a31264b45d4851fa6ae72dbe18 (diff)
parenta98889f3d8882995b5aa2255b931cf0202325cc0 (diff)
downloadop-kernel-dev-2c4aabcca847ac4c92aa5e960c3f6053e1051b62.zip
op-kernel-dev-2c4aabcca847ac4c92aa5e960c3f6053e1051b62.tar.gz
Merge git://git.infradead.org/mtd-2.6
* git://git.infradead.org/mtd-2.6: [MTD][NOR] Add physical address to point() method [JFFS2] Track parent inode for directories (for NFS export) [JFFS2] Invert last argument of jffs2_gc_fetch_inode(), make it boolean. [JFFS2] Quiet lockdep false positive. [JFFS2] Clean up jffs2_alloc_inode() and jffs2_i_init_once() [MTD] Delete long-unused jedec.h header file. [MTD] [NAND] at91_nand: use at91_nand_{en,dis}able consistently.
Diffstat (limited to 'fs/jffs2/nodelist.h')
-rw-r--r--fs/jffs2/nodelist.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/jffs2/nodelist.h b/fs/jffs2/nodelist.h
index 8219df6..1750445 100644
--- a/fs/jffs2/nodelist.h
+++ b/fs/jffs2/nodelist.h
@@ -177,7 +177,10 @@ struct jffs2_inode_cache {
#ifdef CONFIG_JFFS2_FS_XATTR
struct jffs2_xattr_ref *xref;
#endif
- int nlink;
+ uint32_t pino_nlink; /* Directories store parent inode
+ here; other inodes store nlink.
+ Zero always means that it's
+ completely unlinked. */
};
/* Inode states for 'state' above. We need the 'GC' state to prevent
OpenPOWER on IntegriCloud