ocfs2: Fix writeout in ocfs2_data_convert_worker()
Commit f1f540688e
"optimized"
ocfs2_data_convert_worker() to "only do work for regular files".
Unfortunately, I left out a '!', which casued it to *skip* regular files.
This was hidden from testing until recently because the default data
journaling mode (data=ordered) doesn't exercise this code.
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
This commit is contained in:
parent
7ad8b3d30e
commit
1044e401af
1 changed files with 1 additions and 1 deletions
|
@ -3042,7 +3042,7 @@ static int ocfs2_data_convert_worker(struct ocfs2_lock_res *lockres,
|
|||
inode = ocfs2_lock_res_inode(lockres);
|
||||
mapping = inode->i_mapping;
|
||||
|
||||
if (S_ISREG(inode->i_mode))
|
||||
if (!S_ISREG(inode->i_mode))
|
||||
goto out;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue