mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
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>
This commit is contained in:
parent
18d8fda7c3
commit
1239f26c05
1 changed files with 1 additions and 1 deletions
|
@ -2897,6 +2897,6 @@ EXPORT_SYMBOL(generic_readlink);
|
||||||
/* to be mentioned only in INIT_TASK */
|
/* to be mentioned only in INIT_TASK */
|
||||||
struct fs_struct init_fs = {
|
struct fs_struct init_fs = {
|
||||||
.count = ATOMIC_INIT(1),
|
.count = ATOMIC_INIT(1),
|
||||||
.lock = RW_LOCK_UNLOCKED,
|
.lock = __RW_LOCK_UNLOCKED(init_fs.lock),
|
||||||
.umask = 0022,
|
.umask = 0022,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue