]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ocfs2/inode.c
ocfs2: Write support for inline data
[linux-2.6-omap-h63xx.git] / fs / ocfs2 / inode.c
index c8923bab422aa885abf55ceb189f638f46b10557..1d5e0cb0fda1ded9ad69ae0365c9c082fc48ca55 100644 (file)
@@ -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)) {