X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fhpfs%2Falloc.c;h=5503e2c28910102bb0a2a22b97d8e2a7bf20cbad;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hp=2baa977ffa1d555ffb645132d182f24682ade321;hpb=9bf4aaab3e101692164d49b7ca357651eb691cb6;p=linux-2.6.git diff --git a/fs/hpfs/alloc.c b/fs/hpfs/alloc.c index 2baa977ff..5503e2c28 100644 --- a/fs/hpfs/alloc.c +++ b/fs/hpfs/alloc.c @@ -8,6 +8,8 @@ #include "hpfs_fn.h" +static int hpfs_alloc_if_possible_nolock(struct super_block *s, secno sec); + /* * Check if a sector is allocated in bitmap * This is really slow. Turned on only if chk==2 @@ -243,7 +245,7 @@ static secno alloc_in_dirband(struct super_block *s, secno near, int lock) /* Alloc sector if it's free */ -int hpfs_alloc_if_possible_nolock(struct super_block *s, secno sec) +static int hpfs_alloc_if_possible_nolock(struct super_block *s, secno sec) { struct quad_buffer_head qbh; unsigned *bmp;