Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348109
b: refs/heads/master
c: 0e9a9a1
h: refs/heads/master
i:
  348107: cfa6b2d
v: v3
  • Loading branch information
Theodore Ts'o committed Dec 27, 2012
1 parent c3ac5e1 commit 236016b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 721e3eba21e43532e438652dd8f1fcdfce3187e7
refs/heads/master: 0e9a9a1ad619e7e987815d20262d36a2f95717ca
3 changes: 2 additions & 1 deletion trunk/fs/ext4/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -2648,7 +2648,8 @@ int ext4_orphan_del(handle_t *handle, struct inode *inode)
struct ext4_iloc iloc;
int err = 0;

if (!EXT4_SB(inode->i_sb)->s_journal)
if ((!EXT4_SB(inode->i_sb)->s_journal) &&
!(EXT4_SB(inode->i_sb)->s_mount_state & EXT4_ORPHAN_FS))
return 0;

mutex_lock(&EXT4_SB(inode->i_sb)->s_orphan_lock);
Expand Down

0 comments on commit 236016b

Please sign in to comment.