git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ocfs2: Write support for inline data
[pandora-kernel.git]
/
fs
/
ocfs2
/
inode.c
diff --git
a/fs/ocfs2/inode.c
b/fs/ocfs2/inode.c
index
c8923ba
..
1d5e0cb
100644
(file)
--- a/
fs/ocfs2/inode.c
+++ b/
fs/ocfs2/inode.c
@@
-514,6
+514,10
@@
static int ocfs2_truncate_for_delete(struct ocfs2_super *osb,
fe = (struct ocfs2_dinode *) fe_bh->b_data;
+ /*
+ * This check will also skip truncate of inodes with inline
+ * data and fast symlinks.
+ */
if (fe->i_clusters) {
handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
if (IS_ERR(handle)) {