summaryrefslogtreecommitdiff
path: root/fs/file.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-17 21:25:03 +0200
committerIngo Molnar <mingo@kernel.org>2013-02-19 08:42:45 +0100
commiteece09ec213e93333010bf4c6bb9175b32229c54 (patch)
tree4522e9f64468397499b80428307b68bf163d4c90 /fs/file.c
parentc0540606837af79b2ae101e5e7b2206e3844d150 (diff)
locking: Various static lock initializer fixes
The static lock initializers want to be fed the proper name of the lock and not some random string. In mainline random strings are obfuscating the readability of debug output, but for RT they prevent the spinlock substitution. Fix it up. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/file.c')
-rw-r--r--fs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/file.c b/fs/file.c
index 2b3570b7caeb..3906d9577a18 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -516,7 +516,7 @@ struct files_struct init_files = {
.close_on_exec = init_files.close_on_exec_init,
.open_fds = init_files.open_fds_init,
},
- .file_lock = __SPIN_LOCK_UNLOCKED(init_task.file_lock),
+ .file_lock = __SPIN_LOCK_UNLOCKED(init_files.file_lock),
};
/*