projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new helper: file_inode(file)
[linux-2.6-block.git]
/
fs
/
file_table.c
diff --git
a/fs/file_table.c
b/fs/file_table.c
index de9e9653d611f57c9a1ae6a0f8c34ed25cd961c0..0f607ce89acc43f5cebc1b025ffe45a8a5e352b2 100644
(file)
--- a/
fs/file_table.c
+++ b/
fs/file_table.c
@@
-447,7
+447,7
@@
void mark_files_ro(struct super_block *sb)
lg_global_lock(&files_lglock);
do_file_list_for_each_entry(sb, f) {
- if (!S_ISREG(f
->f_path.dentry->d_inode
->i_mode))
+ if (!S_ISREG(f
ile_inode(f)
->i_mode))
continue;
if (!file_count(f))
continue;