]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/jffs2_fs_i.h
[PATCH] knfsd: Convert sunrpc_cache to use krefs
[linux-2.6-omap-h63xx.git] / include / linux / jffs2_fs_i.h
index ef85ab56302b990f1b884f42deca2aeee3a4ec12..ad565bf9dcc15cf679f27965d0239bfceb6c4ff1 100644 (file)
@@ -8,11 +8,11 @@
 #include <asm/semaphore.h>
 
 struct jffs2_inode_info {
 #include <asm/semaphore.h>
 
 struct jffs2_inode_info {
-       /* We need an internal semaphore similar to inode->i_sem.
+       /* We need an internal mutex similar to inode->i_mutex.
           Unfortunately, we can't used the existing one, because
           either the GC would deadlock, or we'd have to release it
           before letting GC proceed. Or we'd have to put ugliness
           Unfortunately, we can't used the existing one, because
           either the GC would deadlock, or we'd have to release it
           before letting GC proceed. Or we'd have to put ugliness
-          into the GC code so it didn't attempt to obtain the i_sem
+          into the GC code so it didn't attempt to obtain the i_mutex
           for the inode(s) which are already locked */
        struct semaphore sem;
 
           for the inode(s) which are already locked */
        struct semaphore sem;