patch-2.4.22 linux-2.4.22/include/linux/shmem_fs.h

Next file: linux-2.4.22/include/linux/sisfb.h
Previous file: linux-2.4.22/include/linux/sem.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/linux/shmem_fs.h linux-2.4.22/include/linux/shmem_fs.h
@@ -17,16 +17,13 @@
 	unsigned long val;
 } swp_entry_t;
 
-extern atomic_t shmem_nrpages;
-
 struct shmem_inode_info {
 	spinlock_t		lock;
-	struct semaphore 	sem;
 	unsigned long		next_index;
 	swp_entry_t		i_direct[SHMEM_NR_DIRECT]; /* for the first blocks */
 	void		      **i_indirect; /* indirect blocks */
-	unsigned long		swapped;
-	int			locked;     /* into memory */
+	unsigned long		swapped;    /* data pages assigned to swap */
+	unsigned long		flags;
 	struct list_head	list;
 	struct inode	       *inode;
 };

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)