Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323260
b: refs/heads/master
c: 8110e16
h: refs/heads/master
v: v3
  • Loading branch information
Miklos Szeredi authored and Linus Torvalds committed Sep 30, 2012
1 parent adedbde commit 345dde2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6a3e3dbee62a8fcf13c349b141b3cedf35a65c41
refs/heads/master: 8110e16d42d587997bcaee0c864179e6d93603fe
6 changes: 6 additions & 0 deletions trunk/fs/dcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,8 @@ int have_submounts(struct dentry *parent)
return 1;

rename_retry:
if (locked)
goto again;
locked = 1;
write_seqlock(&rename_lock);
goto again;
Expand Down Expand Up @@ -1236,6 +1238,8 @@ static int select_parent(struct dentry *parent, struct list_head *dispose)
rename_retry:
if (found)
return found;
if (locked)
goto again;
locked = 1;
write_seqlock(&rename_lock);
goto again;
Expand Down Expand Up @@ -3035,6 +3039,8 @@ void d_genocide(struct dentry *root)
return;

rename_retry:
if (locked)
goto again;
locked = 1;
write_seqlock(&rename_lock);
goto again;
Expand Down

0 comments on commit 345dde2

Please sign in to comment.