diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-21 15:39:53 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-21 15:39:53 -0400 |
| commit | f6f0a6d6a7258eff41fd202fc70df18271a2de79 (patch) | |
| tree | a32040d8cc6e06e056e184e35ed4729e28a244d8 /fs/gfs2/main.c | |
| parent | 2017bd19454ea7cdae19922d15b6930f6c8088a2 (diff) | |
| parent | 33027af637da3f69bd17488cc3e68493c9052a7d (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-nmw
* git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-nmw: (22 commits)
GFS2: fixed typo
GFS2: Fix type mapping for demote_rq interface
GFS2 fatal: filesystem consistency error on rename
GFS2: Improve journal allocation via sysfs
GFS2: Add "norecovery" mount option as a synonym for "spectator"
GFS2: Fix spectator umount issue
GFS2: Fix compiler warning from previous patch
GFS2: reserve more blocks for transactions
GFS2: Fix journal check for spectator mounts
GFS2: Remove upgrade mount option
GFS2: Remove localcaching mount option
GFS2: Remove ignore_local_fs mount argument
GFS2: Make . and .. qstrs constant
GFS2: Use new workqueue scheme
GFS2: Update handling of DLM return codes to match reality
GFS2: Don't enforce min hold time when two demotes occur in rapid succession
GFS2: Fix whitespace in previous patch
GFS2: fallocate support
GFS2: Add a bug trap in allocation code
GFS2: No longer experimental
...
Diffstat (limited to 'fs/gfs2/main.c')
| -rw-r--r-- | fs/gfs2/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/gfs2/main.c b/fs/gfs2/main.c index b1e9630eb46a..d7eb1e209aa8 100644 --- a/fs/gfs2/main.c +++ b/fs/gfs2/main.c | |||
| @@ -24,6 +24,7 @@ | |||
| 24 | #include "glock.h" | 24 | #include "glock.h" |
| 25 | #include "quota.h" | 25 | #include "quota.h" |
| 26 | #include "recovery.h" | 26 | #include "recovery.h" |
| 27 | #include "dir.h" | ||
| 27 | 28 | ||
| 28 | static struct shrinker qd_shrinker = { | 29 | static struct shrinker qd_shrinker = { |
| 29 | .shrink = gfs2_shrink_qd_memory, | 30 | .shrink = gfs2_shrink_qd_memory, |
| @@ -78,6 +79,9 @@ static int __init init_gfs2_fs(void) | |||
| 78 | { | 79 | { |
| 79 | int error; | 80 | int error; |
| 80 | 81 | ||
| 82 | gfs2_str2qstr(&gfs2_qdot, "."); | ||
| 83 | gfs2_str2qstr(&gfs2_qdotdot, ".."); | ||
| 84 | |||
| 81 | error = gfs2_sys_init(); | 85 | error = gfs2_sys_init(); |
| 82 | if (error) | 86 | if (error) |
| 83 | return error; | 87 | return error; |
| @@ -140,7 +144,7 @@ static int __init init_gfs2_fs(void) | |||
| 140 | 144 | ||
| 141 | error = -ENOMEM; | 145 | error = -ENOMEM; |
| 142 | gfs_recovery_wq = alloc_workqueue("gfs_recovery", | 146 | gfs_recovery_wq = alloc_workqueue("gfs_recovery", |
| 143 | WQ_NON_REENTRANT | WQ_RESCUER, 0); | 147 | WQ_RESCUER | WQ_FREEZEABLE, 0); |
| 144 | if (!gfs_recovery_wq) | 148 | if (!gfs_recovery_wq) |
| 145 | goto fail_wq; | 149 | goto fail_wq; |
| 146 | 150 | ||
