diff options
Diffstat (limited to 'fs/jffs2/fs.c')
-rw-r--r-- | fs/jffs2/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/fs.c b/fs/jffs2/fs.c index eeead33d8ef0..b81b35ddf4e4 100644 --- a/fs/jffs2/fs.c +++ b/fs/jffs2/fs.c | |||
@@ -80,7 +80,7 @@ int jffs2_do_setattr (struct inode *inode, struct iattr *iattr) | |||
80 | ALLOC_NORMAL, JFFS2_SUMMARY_INODE_SIZE); | 80 | ALLOC_NORMAL, JFFS2_SUMMARY_INODE_SIZE); |
81 | if (ret) { | 81 | if (ret) { |
82 | jffs2_free_raw_inode(ri); | 82 | jffs2_free_raw_inode(ri); |
83 | if (S_ISLNK(inode->i_mode & S_IFMT)) | 83 | if (S_ISLNK(inode->i_mode)) |
84 | kfree(mdata); | 84 | kfree(mdata); |
85 | return ret; | 85 | return ret; |
86 | } | 86 | } |