diff options
author | Dave Kleikamp <shaggy@austin.ibm.com> | 2005-05-04 15:29:35 -0500 |
---|---|---|
committer | Dave Kleikamp <shaggy@austin.ibm.com> | 2005-05-04 15:29:35 -0500 |
commit | 1868f4aa5a4a72bbe0b7db6c1d4ee666824c3895 (patch) | |
tree | c3bfa2751dcc1d7adf16a6a96e5ad8cab76b6f76 /fs/jfs/jfs_metapage.c | |
parent | 6b6bf51081a27e80334e7ebe2993ae1d046a3222 (diff) | |
download | op-kernel-dev-1868f4aa5a4a72bbe0b7db6c1d4ee666824c3895.zip op-kernel-dev-1868f4aa5a4a72bbe0b7db6c1d4ee666824c3895.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jfs/jfs_metapage.c b/fs/jfs/jfs_metapage.c index 41bf078..aa1cc7b 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 */ |