Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38811
b: refs/heads/master
c: e9fc2aa
h: refs/heads/master
i:
  38809: af1832e
  38807: 565c348
v: v3
  • Loading branch information
Steven Whitehouse committed Sep 1, 2006
1 parent 3a92708 commit 0a07777
Show file tree
Hide file tree
Showing 77 changed files with 110 additions and 185 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c6e6f0ba8fc1dea99c7bd020916f24d533b62697
refs/heads/master: e9fc2aa091ab8fa46e60d4c9d06a89305c441652
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
obj-$(CONFIG_GFS2_FS) += gfs2.o
gfs2-y := acl.o bmap.o daemon.o dir.o eaops.o eattr.o glock.o \
glops.o inode.o lm.o log.o lops.o locking.o lvb.o main.o meta_io.o \
glops.o inode.o lm.o log.o lops.o locking.o main.o meta_io.o \
mount.o ondisk.o ops_address.o ops_dentry.o ops_export.o ops_file.o \
ops_fstype.o ops_inode.o ops_super.o ops_vm.o quota.o \
recovery.o rgrp.o super.o sys.o trans.o util.o
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/acl.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include <linux/sched.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/acl.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#ifndef __ACL_DOT_H__
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/bmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include <linux/sched.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/bmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#ifndef __BMAP_DOT_H__
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include <linux/sched.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/daemon.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#ifndef __DAEMON_DOT_H__
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

/*
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/dir.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#ifndef __DIR_DOT_H__
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/eaops.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include <linux/sched.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/eaops.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#ifndef __EAOPS_DOT_H__
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/eattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include <linux/sched.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/eattr.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#ifndef __EATTR_DOT_H__
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#ifndef __FORMAT_DOT_H__
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/gfs2.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#ifndef __GFS2_DOT_H__
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/glock.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include <linux/sched.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/glock.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#ifndef __GLOCK_DOT_H__
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/glops.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include <linux/sched.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/glops.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#ifndef __GLOPS_DOT_H__
Expand Down
28 changes: 8 additions & 20 deletions trunk/fs/gfs2/incore.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#ifndef __INCORE_DOT_H__
Expand All @@ -22,24 +22,12 @@

struct gfs2_log_operations;
struct gfs2_log_element;
struct gfs2_bitmap;
struct gfs2_rgrpd;
struct gfs2_bufdata;
struct gfs2_glock_operations;
struct gfs2_holder;
struct gfs2_glock;
struct gfs2_alloc;
struct gfs2_inode;
struct gfs2_file;
struct gfs2_revoke;
struct gfs2_revoke_replay;
struct gfs2_quota_data;
struct gfs2_log_buf;
struct gfs2_trans;
struct gfs2_ail;
struct gfs2_jdesc;
struct gfs2_args;
struct gfs2_tune;
struct gfs2_gl_hash_bucket;
struct gfs2_sbd;

Expand Down Expand Up @@ -215,8 +203,8 @@ struct gfs2_glock {
struct gfs2_alloc {
/* Quota stuff */

struct gfs2_quota_data *al_qd[4];
struct gfs2_holder al_qd_ghs[4];
struct gfs2_quota_data *al_qd[2*MAXQUOTAS];
struct gfs2_holder al_qd_ghs[2*MAXQUOTAS];
unsigned int al_qd_num;

u32 al_requested; /* Filled in by caller of gfs2_inplace_reserve() */
Expand Down Expand Up @@ -305,11 +293,11 @@ enum {
};

struct gfs2_quota_lvb {
uint32_t qb_magic;
uint32_t __pad;
uint64_t qb_limit; /* Hard limit of # blocks to alloc */
uint64_t qb_warn; /* Warn user when alloc is above this # */
int64_t qb_value; /* Current # blocks allocated */
__be32 qb_magic;
u32 __pad;
__be64 qb_limit; /* Hard limit of # blocks to alloc */
__be64 qb_warn; /* Warn user when alloc is above this # */
__be64 qb_value; /* Current # blocks allocated */
};

struct gfs2_quota_data {
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include <linux/sched.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/inode.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#ifndef __INODE_DOT_H__
Expand Down
3 changes: 1 addition & 2 deletions trunk/fs/gfs2/lm.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include <linux/sched.h>
Expand All @@ -22,7 +22,6 @@
#include "lm.h"
#include "super.h"
#include "util.h"
#include "lvb.h"

/**
* gfs2_lm_mount - mount a locking protocol
Expand Down
4 changes: 3 additions & 1 deletion trunk/fs/gfs2/lm.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#ifndef __LM_DOT_H__
#define __LM_DOT_H__

#define GFS2_MIN_LVB_SIZE 32

int gfs2_lm_mount(struct gfs2_sbd *sdp, int silent);
void gfs2_lm_others_may_mount(struct gfs2_sbd *sdp);
void gfs2_lm_unmount(struct gfs2_sbd *sdp);
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/lm_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#ifndef __LM_INTERFACE_DOT_H__
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/locking.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include <linux/module.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/locking/dlm/lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include "lock_dlm.h"
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/locking/dlm/lock_dlm.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#ifndef LOCK_DLM_DOT_H
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/locking/dlm/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include <linux/init.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/locking/dlm/mount.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include "lock_dlm.h"
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/locking/dlm/plock.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include <linux/miscdevice.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/locking/dlm/sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include <linux/ctype.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/locking/dlm/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include "lock_dlm.h"
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/locking/nolock/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include <linux/module.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#include <linux/sched.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
* of the GNU General Public License version 2.
*/

#ifndef __LOG_DOT_H__
Expand Down
Loading

0 comments on commit 0a07777

Please sign in to comment.