patch-1.3.42 linux/fs/inode.c
Next file: linux/fs/nfs/Makefile
Previous file: linux/fs/filesystems.c
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Tue Nov 14 08:41:56 1995
- Orig file:
v1.3.41/linux/fs/inode.c
- Orig date:
Mon Sep 18 14:54:06 1995
diff -u --recursive --new-file v1.3.41/linux/fs/inode.c linux/fs/inode.c
@@ -31,7 +31,7 @@
return hash_table + hashfn(dev, i);
}
-static void insert_inode_free(struct inode *inode)
+static inline void insert_inode_free(struct inode *inode)
{
inode->i_next = first_inode;
inode->i_prev = first_inode->i_prev;
@@ -40,7 +40,7 @@
first_inode = inode;
}
-static void remove_inode_free(struct inode *inode)
+static inline void remove_inode_free(struct inode *inode)
{
if (first_inode == inode)
first_inode = first_inode->i_next;
@@ -63,7 +63,7 @@
h->inode = inode;
}
-static void remove_inode_hash(struct inode *inode)
+static inline void remove_inode_hash(struct inode *inode)
{
struct inode_hash_entry *h;
h = hash(inode->i_dev, inode->i_ino);
@@ -77,7 +77,7 @@
inode->i_hash_prev = inode->i_hash_next = NULL;
}
-static void put_last_free(struct inode *inode)
+static inline void put_last_free(struct inode *inode)
{
remove_inode_free(inode);
inode->i_prev = first_inode->i_prev;
@@ -225,7 +225,7 @@
unlock_inode(inode);
}
-static void read_inode(struct inode * inode)
+static inline void read_inode(struct inode * inode)
{
lock_inode(inode);
if (inode->i_sb && inode->i_sb->s_op && inode->i_sb->s_op->read_inode)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this