summaryrefslogtreecommitdiffstats
path: root/fs/jfs/inode.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-07-17 01:28:28 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-07-17 01:28:28 +0200
commitf76d94def5605fbec1de61218e91fe1002fd322f (patch)
tree8181de42c62a8a30453bc6c70326a4ff278af726 /fs/jfs/inode.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo... (diff)
parentjfs: clean up jfs_rename and fix out of order unlock (diff)
downloadlinux-f76d94def5605fbec1de61218e91fe1002fd322f.tar.xz
linux-f76d94def5605fbec1de61218e91fe1002fd322f.zip
Merge tag 'jfs-4.2' of git://github.com/kleikamp/linux-shaggy
Pull jfs fixes from David Kleikamp: "A couple trivial fixes and an error path fix" * tag 'jfs-4.2' of git://github.com/kleikamp/linux-shaggy: jfs: clean up jfs_rename and fix out of order unlock jfs: fix indentation on if statement jfs: removed a prohibited space after opening parenthesis
Diffstat (limited to 'fs/jfs/inode.c')
-rw-r--r--fs/jfs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jfs/inode.c b/fs/jfs/inode.c
index 6f1cb2b5ee28..41aa3ca6a6a4 100644
--- a/fs/jfs/inode.c
+++ b/fs/jfs/inode.c
@@ -134,11 +134,11 @@ int jfs_write_inode(struct inode *inode, struct writeback_control *wbc)
* It has been committed since the last change, but was still
* on the dirty inode list.
*/
- if (!test_cflag(COMMIT_Dirty, inode)) {
+ if (!test_cflag(COMMIT_Dirty, inode)) {
/* Make sure committed changes hit the disk */
jfs_flush_journal(JFS_SBI(inode->i_sb)->log, wait);
return 0;
- }
+ }
if (jfs_commit_inode(inode, wait)) {
jfs_err("jfs_write_inode: jfs_commit_inode failed!");