summaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_metapage.c
diff options
context:
space:
mode:
authorDave Kleikamp <shaggy@austin.ibm.com>2005-05-04 15:29:35 -0500
committerDave Kleikamp <shaggy@austin.ibm.com>2005-05-04 15:29:35 -0500
commit1868f4aa5a4a72bbe0b7db6c1d4ee666824c3895 (patch)
treec3bfa2751dcc1d7adf16a6a96e5ad8cab76b6f76 /fs/jfs/jfs_metapage.c
parent6b6bf51081a27e80334e7ebe2993ae1d046a3222 (diff)
downloadlinux-1868f4aa5a4a72bbe0b7db6c1d4ee666824c3895.tar.gz
linux-1868f4aa5a4a72bbe0b7db6c1d4ee666824c3895.tar.bz2
linux-1868f4aa5a4a72bbe0b7db6c1d4ee666824c3895.zip
JFS: fix sparse warnings by moving extern declarations to headers
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Diffstat (limited to 'fs/jfs/jfs_metapage.c')
-rw-r--r--fs/jfs/jfs_metapage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jfs/jfs_metapage.c b/fs/jfs/jfs_metapage.c
index 41bf078dce05..aa1cc7be3a56 100644
--- a/fs/jfs/jfs_metapage.c
+++ b/fs/jfs/jfs_metapage.c
@@ -726,12 +726,12 @@ void force_metapage(struct metapage *mp)
page_cache_release(page);
}
-extern void hold_metapage(struct metapage *mp)
+void hold_metapage(struct metapage *mp)
{
lock_page(mp->page);
}
-extern void put_metapage(struct metapage *mp)
+void put_metapage(struct metapage *mp)
{
if (mp->count || mp->nohomeok) {
/* Someone else will release this */