X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flinux%2Flustre_patchless_compat.h;h=061c5da21d34375f29add387824be7e768d33b2a;hp=9af47efd48aabfbdd334b3669eaae35d6030be0f;hb=b1dd3e496d54e0e246c27d2ddc504beaf8fddc54;hpb=773c6672533f680f51c2632cefb4249a6190d269 diff --git a/lustre/include/linux/lustre_patchless_compat.h b/lustre/include/linux/lustre_patchless_compat.h index 9af47ef..061c5da 100644 --- a/lustre/include/linux/lustre_patchless_compat.h +++ b/lustre/include/linux/lustre_patchless_compat.h @@ -61,7 +61,7 @@ static inline void ll_remove_from_page_cache(struct page *page) #ifdef HAVE_RW_TREE_LOCK write_lock_irq(&mapping->tree_lock); #else - cfs_spin_lock_irq(&mapping->tree_lock); + spin_lock_irq(&mapping->tree_lock); #endif radix_tree_delete(&mapping->page_tree, page->index); page->mapping = NULL; @@ -71,7 +71,7 @@ static inline void ll_remove_from_page_cache(struct page *page) #ifdef HAVE_RW_TREE_LOCK write_unlock_irq(&mapping->tree_lock); #else - cfs_spin_unlock_irq(&mapping->tree_lock); + spin_unlock_irq(&mapping->tree_lock); #endif } #else /* HAVE_REMOVE_FROM_PAGE_CACHE */