projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'pci-v4.5-fixes-4' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
[deliverable/linux.git]
/
fs
/
ext4
/
super.c
diff --git
a/fs/ext4/super.c
b/fs/ext4/super.c
index 00c98fab6333562bfd42b5585bdf39ba2579e25c..3ed01ec011d75067579a4b894b4b0623af265a2d 100644
(file)
--- a/
fs/ext4/super.c
+++ b/
fs/ext4/super.c
@@
-2286,10
+2286,10
@@
static void ext4_orphan_cleanup(struct super_block *sb,
__func__, inode->i_ino, inode->i_size);
jbd_debug(2, "truncating inode %lu to %lld bytes\n",
inode->i_ino, inode->i_size);
__func__, inode->i_ino, inode->i_size);
jbd_debug(2, "truncating inode %lu to %lld bytes\n",
inode->i_ino, inode->i_size);
-
mutex_lock(&inode->i_mutex
);
+
inode_lock(inode
);
truncate_inode_pages(inode->i_mapping, inode->i_size);
ext4_truncate(inode);
truncate_inode_pages(inode->i_mapping, inode->i_size);
ext4_truncate(inode);
-
mutex_unlock(&inode->i_mutex
);
+
inode_unlock(inode
);
nr_truncates++;
} else {
if (test_opt(sb, DEBUG))
nr_truncates++;
} else {
if (test_opt(sb, DEBUG))
This page took
0.030169 seconds
and
5
git commands to generate.