Commit 1239f26c05899f1f3c541b41e719c59d58038786

Authored by Steven Rostedt
Committed by Al Viro
1 parent 18d8fda7c3

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -2897,7 +2897,7 @@
2897 2897 /* to be mentioned only in INIT_TASK */
2898 2898 struct fs_struct init_fs = {
2899 2899 .count = ATOMIC_INIT(1),
2900   - .lock = RW_LOCK_UNLOCKED,
  2900 + .lock = __RW_LOCK_UNLOCKED(init_fs.lock),
2901 2901 .umask = 0022,
2902 2902 };