diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-12-10 18:37:28 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-12-31 18:07:42 -0500 |
commit | 1239f26c05899f1f3c541b41e719c59d58038786 (patch) | |
tree | f9b96535e345faa4bacff85eddbb2f81c85938a9 /fs | |
parent | 18d8fda7c3c9439be04d7ea2e82da2513b121acb (diff) |
make INIT_FS use the __RW_LOCK_UNLOCKED initialization
[AV: rediffed on top of unification of init_fs]
Initialization of init_fs still uses the deprecated RW_LOCK_UNLOCKED macro.
This patch updates it to use the __RW_LOCK_UNLOCKED(lock) macro.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c index e203691b9d1..dd5c9f0bf82 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -2897,6 +2897,6 @@ EXPORT_SYMBOL(generic_readlink); | |||
2897 | /* to be mentioned only in INIT_TASK */ | 2897 | /* to be mentioned only in INIT_TASK */ |
2898 | struct fs_struct init_fs = { | 2898 | struct fs_struct init_fs = { |
2899 | .count = ATOMIC_INIT(1), | 2899 | .count = ATOMIC_INIT(1), |
2900 | .lock = RW_LOCK_UNLOCKED, | 2900 | .lock = __RW_LOCK_UNLOCKED(init_fs.lock), |
2901 | .umask = 0022, | 2901 | .umask = 0022, |
2902 | }; | 2902 | }; |