Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71434
b: refs/heads/master
c: cfdaf9e
h: refs/heads/master
v: v3
  • Loading branch information
Matthias Kaehlcke authored and Linus Torvalds committed Oct 19, 2007
1 parent 999894f commit da505ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4e6045f134784f4b158b3c0f7a282b04bd816887
refs/heads/master: cfdaf9e5f95993264b5aee7cbb9dd16977bc11ed
5 changes: 2 additions & 3 deletions trunk/fs/file_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,12 +323,11 @@ void file_kill(struct file *file)

int fs_may_remount_ro(struct super_block *sb)
{
struct list_head *p;
struct file *file;

/* Check that no files are currently opened for writing. */
file_list_lock();
list_for_each(p, &sb->s_files) {
struct file *file = list_entry(p, struct file, f_u.fu_list);
list_for_each_entry(file, &sb->s_files, f_u.fu_list) {
struct inode *inode = file->f_path.dentry->d_inode;

/* File with pending delete? */
Expand Down

0 comments on commit da505ee

Please sign in to comment.