rk: revert 20f3d0b+v3.0.66 to v3.0
[firefly-linux-kernel-4.4.55.git] / fs / ext3 / namei.c
index e5a71111cb32ac006517d73edf17e5aaab0ce9f9..34b6d9bfc48a511de1a4e52bbb778cdd10a519b6 100644 (file)
@@ -2210,11 +2210,9 @@ static int ext3_symlink (struct inode * dir,
                /*
                 * For non-fast symlinks, we just allocate inode and put it on
                 * orphan list in the first transaction => we need bitmap,
-                * group descriptor, sb, inode block, quota blocks, and
-                * possibly selinux xattr blocks.
+                * group descriptor, sb, inode block, quota blocks.
                 */
-               credits = 4 + EXT3_MAXQUOTAS_INIT_BLOCKS(dir->i_sb) +
-                         EXT3_XATTR_TRANS_BLOCKS;
+               credits = 4 + EXT3_MAXQUOTAS_INIT_BLOCKS(dir->i_sb);
        } else {
                /*
                 * Fast symlink. We have to add entry to directory