X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fadfs%2Fmap.c;h=92ab4fbc2031f6eaaff492954e84fb3d4ca93957;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=48c7a31c862afc99e01e92f2d88a810856e10e48;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/fs/adfs/map.c b/fs/adfs/map.c index 48c7a31c8..92ab4fbc2 100644 --- a/fs/adfs/map.c +++ b/fs/adfs/map.c @@ -53,7 +53,7 @@ /* * For the future... */ -static rwlock_t adfs_map_lock = RW_LOCK_UNLOCKED; +static DEFINE_RWLOCK(adfs_map_lock); /* * This is fun. We need to load up to 19 bits from the map at an