X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Faffs%2Faffs.h;h=e9ec915f7553f1e7e821d40a7ee9671b5c9eea1b;hb=ca6d1b1333bc2e61e37982de1f28d8604c232414;hp=223b1917093ea357ffe68440199cddd7abdd0489;hpb=63fe46da9c380b3f2bbdf3765044649517cc717c;p=linux-2.6 diff --git a/fs/affs/affs.h b/fs/affs/affs.h index 223b191709..e9ec915f75 100644 --- a/fs/affs/affs.h +++ b/fs/affs/affs.h @@ -2,6 +2,7 @@ #include #include #include +#include /* AmigaOS allows file names with up to 30 characters length. * Names longer than that will be silently truncated. If you @@ -98,7 +99,7 @@ struct affs_sb_info { gid_t s_gid; /* gid to override */ umode_t s_mode; /* mode to override */ struct buffer_head *s_root_bh; /* Cached root block. */ - struct semaphore s_bmlock; /* Protects bitmap access. */ + struct mutex s_bmlock; /* Protects bitmap access. */ struct affs_bm_info *s_bitmap; /* Bitmap infos. */ u32 s_bmap_count; /* # of bitmap blocks. */ u32 s_bmap_bits; /* # of bits in one bitmap blocks */