]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/ocfs2/namei.c
ocfs2: fix panic on kfree(xattr->name)
[karo-tx-linux.git] / fs / ocfs2 / namei.c
index 931fd50a971ff40a8cf50488c624807a6c27904a..4a797f22239d9a4e717c205a5a48a1db8300695a 100644 (file)
@@ -450,7 +450,6 @@ leave:
 
        brelse(new_fe_bh);
        brelse(parent_fe_bh);
-       kfree(si.name);
        kfree(si.value);
 
        ocfs2_free_dir_lookup_result(&lookup);
@@ -1856,7 +1855,6 @@ bail:
 
        brelse(new_fe_bh);
        brelse(parent_fe_bh);
-       kfree(si.name);
        kfree(si.value);
        ocfs2_free_dir_lookup_result(&lookup);
        if (inode_ac)