diff options
author | Dave Kleikamp <shaggy@austin.ibm.com> | 2005-05-04 22:29:35 +0200 |
---|---|---|
committer | Dave Kleikamp <shaggy@austin.ibm.com> | 2005-05-04 22:29:35 +0200 |
commit | 1868f4aa5a4a72bbe0b7db6c1d4ee666824c3895 (patch) | |
tree | c3bfa2751dcc1d7adf16a6a96e5ad8cab76b6f76 /fs/jfs/jfs_metapage.c | |
parent | JFS: Endian errors (diff) | |
download | linux-1868f4aa5a4a72bbe0b7db6c1d4ee666824c3895.tar.xz 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.c | 4 |
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 */ |