projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
local64.h: make <asm/local64.h> mandatory
[linux-2.6-microblaze.git]
/
fs
/
xfs
/
xfs_buf.c
diff --git
a/fs/xfs/xfs_buf.c
b/fs/xfs/xfs_buf.c
index
4e4cf91
..
f8400bb
100644
(file)
--- a/
fs/xfs/xfs_buf.c
+++ b/
fs/xfs/xfs_buf.c
@@
-278,7
+278,7
@@
_xfs_buf_alloc(
*/
STATIC int
_xfs_buf_get_pages(
*/
STATIC int
_xfs_buf_get_pages(
-
xfs_buf_t
*bp,
+
struct xfs_buf
*bp,
int page_count)
{
/* Make sure that we have a page list */
int page_count)
{
/* Make sure that we have a page list */
@@
-302,7
+302,7
@@
_xfs_buf_get_pages(
*/
STATIC void
_xfs_buf_free_pages(
*/
STATIC void
_xfs_buf_free_pages(
-
xfs_buf_t
*bp)
+
struct xfs_buf
*bp)
{
if (bp->b_pages != bp->b_page_array) {
kmem_free(bp->b_pages);
{
if (bp->b_pages != bp->b_page_array) {
kmem_free(bp->b_pages);
@@
-319,7
+319,7
@@
_xfs_buf_free_pages(
*/
static void
xfs_buf_free(
*/
static void
xfs_buf_free(
-
xfs_buf_t
*bp)
+
struct xfs_buf
*bp)
{
trace_xfs_buf_free(bp, _RET_IP_);
{
trace_xfs_buf_free(bp, _RET_IP_);
@@
-352,7
+352,7
@@
xfs_buf_free(
*/
STATIC int
xfs_buf_allocate_memory(
*/
STATIC int
xfs_buf_allocate_memory(
-
xfs_buf_t
*bp,
+
struct xfs_buf
*bp,
uint flags)
{
size_t size;
uint flags)
{
size_t size;
@@
-463,7
+463,7
@@
out_free_pages:
*/
STATIC int
_xfs_buf_map_pages(
*/
STATIC int
_xfs_buf_map_pages(
-
xfs_buf_t
*bp,
+
struct xfs_buf
*bp,
uint flags)
{
ASSERT(bp->b_flags & _XBF_PAGES);
uint flags)
{
ASSERT(bp->b_flags & _XBF_PAGES);
@@
-590,7
+590,7
@@
xfs_buf_find(
struct xfs_buf **found_bp)
{
struct xfs_perag *pag;
struct xfs_buf **found_bp)
{
struct xfs_perag *pag;
-
xfs_buf_t
*bp;
+
struct xfs_buf
*bp;
struct xfs_buf_map cmap = { .bm_bn = map[0].bm_bn };
xfs_daddr_t eofs;
int i;
struct xfs_buf_map cmap = { .bm_bn = map[0].bm_bn };
xfs_daddr_t eofs;
int i;
@@
-762,7
+762,7
@@
found:
int
_xfs_buf_read(
int
_xfs_buf_read(
-
xfs_buf_t
*bp,
+
struct xfs_buf
*bp,
xfs_buf_flags_t flags)
{
ASSERT(!(flags & XBF_WRITE));
xfs_buf_flags_t flags)
{
ASSERT(!(flags & XBF_WRITE));
@@
-1005,7
+1005,7
@@
xfs_buf_get_uncached(
*/
void
xfs_buf_hold(
*/
void
xfs_buf_hold(
-
xfs_buf_t
*bp)
+
struct xfs_buf
*bp)
{
trace_xfs_buf_hold(bp, _RET_IP_);
atomic_inc(&bp->b_hold);
{
trace_xfs_buf_hold(bp, _RET_IP_);
atomic_inc(&bp->b_hold);
@@
-1017,7
+1017,7
@@
xfs_buf_hold(
*/
void
xfs_buf_rele(
*/
void
xfs_buf_rele(
-
xfs_buf_t
*bp)
+
struct xfs_buf
*bp)
{
struct xfs_perag *pag = bp->b_pag;
bool release;
{
struct xfs_perag *pag = bp->b_pag;
bool release;
@@
-1161,7
+1161,7
@@
xfs_buf_unlock(
STATIC void
xfs_buf_wait_unpin(
STATIC void
xfs_buf_wait_unpin(
-
xfs_buf_t
*bp)
+
struct xfs_buf
*bp)
{
DECLARE_WAITQUEUE (wait, current);
{
DECLARE_WAITQUEUE (wait, current);
@@
-1373,7
+1373,7
@@
xfs_buf_ioend_work(
struct work_struct *work)
{
struct xfs_buf *bp =
struct work_struct *work)
{
struct xfs_buf *bp =
- container_of(work,
xfs_buf_t
, b_ioend_work);
+ container_of(work,
struct xfs_buf
, b_ioend_work);
xfs_buf_ioend(bp);
}
xfs_buf_ioend(bp);
}
@@
-1388,7
+1388,7
@@
xfs_buf_ioend_async(
void
__xfs_buf_ioerror(
void
__xfs_buf_ioerror(
-
xfs_buf_t
*bp,
+
struct xfs_buf
*bp,
int error,
xfs_failaddr_t failaddr)
{
int error,
xfs_failaddr_t failaddr)
{