aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ntfs/super.c
diff options
context:
space:
mode:
authorJesper Juhl <juhl-lkml@dif.dk>2005-04-04 09:59:56 -0400
committerAnton Altaparmakov <aia21@cantab.net>2005-05-05 06:42:27 -0400
commit251c8427c9c418674fc3c04a11de95dc3661b560 (patch)
treeb67bab32762a4a64083de64281b1249bccfd9402 /fs/ntfs/super.c
parent53d59aad9326199ef5749c97513db498309a057e (diff)
NTFS: Remove checks for NULL before calling kfree() since kfree() does the
checking itself. (Jesper Juhl) Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Diffstat (limited to 'fs/ntfs/super.c')
-rw-r--r--fs/ntfs/super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
index 78416eb2a168..25fa1d1668da 100644
--- a/fs/ntfs/super.c
+++ b/fs/ntfs/super.c
@@ -1193,8 +1193,7 @@ static BOOL load_and_init_quota(ntfs_volume *vol)
1193 return FALSE; 1193 return FALSE;
1194 } 1194 }
1195 /* We do not care for the type of match that was found. */ 1195 /* We do not care for the type of match that was found. */
1196 if (name) 1196 kfree(name);
1197 kfree(name);
1198 /* Get the inode. */ 1197 /* Get the inode. */
1199 tmp_ino = ntfs_iget(vol->sb, MREF(mref)); 1198 tmp_ino = ntfs_iget(vol->sb, MREF(mref));
1200 if (IS_ERR(tmp_ino) || is_bad_inode(tmp_ino)) { 1199 if (IS_ERR(tmp_ino) || is_bad_inode(tmp_ino)) {