diff options
Diffstat (limited to 'fs/gfs2/glops.c')
-rw-r--r-- | fs/gfs2/glops.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/fs/gfs2/glops.c b/fs/gfs2/glops.c index d3e7b082a918..0c50a720d01d 100644 --- a/fs/gfs2/glops.c +++ b/fs/gfs2/glops.c | |||
@@ -492,7 +492,7 @@ static int quota_go_demote_ok(struct gfs2_glock *gl) | |||
492 | const struct gfs2_glock_operations gfs2_meta_glops = { | 492 | const struct gfs2_glock_operations gfs2_meta_glops = { |
493 | .go_xmote_th = gfs2_glock_xmote_th, | 493 | .go_xmote_th = gfs2_glock_xmote_th, |
494 | .go_drop_th = gfs2_glock_drop_th, | 494 | .go_drop_th = gfs2_glock_drop_th, |
495 | .go_type = LM_TYPE_META | 495 | .go_type = LM_TYPE_META, |
496 | }; | 496 | }; |
497 | 497 | ||
498 | const struct gfs2_glock_operations gfs2_inode_glops = { | 498 | const struct gfs2_glock_operations gfs2_inode_glops = { |
@@ -505,7 +505,7 @@ const struct gfs2_glock_operations gfs2_inode_glops = { | |||
505 | .go_lock = inode_go_lock, | 505 | .go_lock = inode_go_lock, |
506 | .go_unlock = inode_go_unlock, | 506 | .go_unlock = inode_go_unlock, |
507 | .go_greedy = inode_greedy, | 507 | .go_greedy = inode_greedy, |
508 | .go_type = LM_TYPE_INODE | 508 | .go_type = LM_TYPE_INODE, |
509 | }; | 509 | }; |
510 | 510 | ||
511 | const struct gfs2_glock_operations gfs2_rgrp_glops = { | 511 | const struct gfs2_glock_operations gfs2_rgrp_glops = { |
@@ -516,45 +516,45 @@ const struct gfs2_glock_operations gfs2_rgrp_glops = { | |||
516 | .go_demote_ok = rgrp_go_demote_ok, | 516 | .go_demote_ok = rgrp_go_demote_ok, |
517 | .go_lock = rgrp_go_lock, | 517 | .go_lock = rgrp_go_lock, |
518 | .go_unlock = rgrp_go_unlock, | 518 | .go_unlock = rgrp_go_unlock, |
519 | .go_type = LM_TYPE_RGRP | 519 | .go_type = LM_TYPE_RGRP, |
520 | }; | 520 | }; |
521 | 521 | ||
522 | const struct gfs2_glock_operations gfs2_trans_glops = { | 522 | const struct gfs2_glock_operations gfs2_trans_glops = { |
523 | .go_xmote_th = trans_go_xmote_th, | 523 | .go_xmote_th = trans_go_xmote_th, |
524 | .go_xmote_bh = trans_go_xmote_bh, | 524 | .go_xmote_bh = trans_go_xmote_bh, |
525 | .go_drop_th = trans_go_drop_th, | 525 | .go_drop_th = trans_go_drop_th, |
526 | .go_type = LM_TYPE_NONDISK | 526 | .go_type = LM_TYPE_NONDISK, |
527 | }; | 527 | }; |
528 | 528 | ||
529 | const struct gfs2_glock_operations gfs2_iopen_glops = { | 529 | const struct gfs2_glock_operations gfs2_iopen_glops = { |
530 | .go_xmote_th = gfs2_glock_xmote_th, | 530 | .go_xmote_th = gfs2_glock_xmote_th, |
531 | .go_drop_th = gfs2_glock_drop_th, | 531 | .go_drop_th = gfs2_glock_drop_th, |
532 | .go_callback = gfs2_iopen_go_callback, | 532 | .go_callback = gfs2_iopen_go_callback, |
533 | .go_type = LM_TYPE_IOPEN | 533 | .go_type = LM_TYPE_IOPEN, |
534 | }; | 534 | }; |
535 | 535 | ||
536 | const struct gfs2_glock_operations gfs2_flock_glops = { | 536 | const struct gfs2_glock_operations gfs2_flock_glops = { |
537 | .go_xmote_th = gfs2_glock_xmote_th, | 537 | .go_xmote_th = gfs2_glock_xmote_th, |
538 | .go_drop_th = gfs2_glock_drop_th, | 538 | .go_drop_th = gfs2_glock_drop_th, |
539 | .go_type = LM_TYPE_FLOCK | 539 | .go_type = LM_TYPE_FLOCK, |
540 | }; | 540 | }; |
541 | 541 | ||
542 | const struct gfs2_glock_operations gfs2_nondisk_glops = { | 542 | const struct gfs2_glock_operations gfs2_nondisk_glops = { |
543 | .go_xmote_th = gfs2_glock_xmote_th, | 543 | .go_xmote_th = gfs2_glock_xmote_th, |
544 | .go_drop_th = gfs2_glock_drop_th, | 544 | .go_drop_th = gfs2_glock_drop_th, |
545 | .go_type = LM_TYPE_NONDISK | 545 | .go_type = LM_TYPE_NONDISK, |
546 | }; | 546 | }; |
547 | 547 | ||
548 | const struct gfs2_glock_operations gfs2_quota_glops = { | 548 | const struct gfs2_glock_operations gfs2_quota_glops = { |
549 | .go_xmote_th = gfs2_glock_xmote_th, | 549 | .go_xmote_th = gfs2_glock_xmote_th, |
550 | .go_drop_th = gfs2_glock_drop_th, | 550 | .go_drop_th = gfs2_glock_drop_th, |
551 | .go_demote_ok = quota_go_demote_ok, | 551 | .go_demote_ok = quota_go_demote_ok, |
552 | .go_type = LM_TYPE_QUOTA | 552 | .go_type = LM_TYPE_QUOTA, |
553 | }; | 553 | }; |
554 | 554 | ||
555 | const struct gfs2_glock_operations gfs2_journal_glops = { | 555 | const struct gfs2_glock_operations gfs2_journal_glops = { |
556 | .go_xmote_th = gfs2_glock_xmote_th, | 556 | .go_xmote_th = gfs2_glock_xmote_th, |
557 | .go_drop_th = gfs2_glock_drop_th, | 557 | .go_drop_th = gfs2_glock_drop_th, |
558 | .go_type = LM_TYPE_JOURNAL | 558 | .go_type = LM_TYPE_JOURNAL, |
559 | }; | 559 | }; |
560 | 560 | ||