aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_super.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_super.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c
index 1b60e46f527f..5c7144bc3106 100644
--- a/fs/xfs/linux-2.6/xfs_super.c
+++ b/fs/xfs/linux-2.6/xfs_super.c
@@ -1074,7 +1074,7 @@ xfssyncd(
1074 list_del(&work->w_list); 1074 list_del(&work->w_list);
1075 if (work == &mp->m_sync_work) 1075 if (work == &mp->m_sync_work)
1076 continue; 1076 continue;
1077 kmem_free(work, sizeof(struct bhv_vfs_sync_work)); 1077 kmem_free(work);
1078 } 1078 }
1079 } 1079 }
1080 1080
@@ -1222,7 +1222,7 @@ xfs_fs_remount(
1222 error = xfs_parseargs(mp, options, args, 1); 1222 error = xfs_parseargs(mp, options, args, 1);
1223 if (!error) 1223 if (!error)
1224 error = xfs_mntupdate(mp, flags, args); 1224 error = xfs_mntupdate(mp, flags, args);
1225 kmem_free(args, sizeof(*args)); 1225 kmem_free(args);
1226 return -error; 1226 return -error;
1227} 1227}
1228 1228
@@ -1369,7 +1369,7 @@ xfs_fs_fill_super(
1369 1369
1370 xfs_itrace_exit(XFS_I(sb->s_root->d_inode)); 1370 xfs_itrace_exit(XFS_I(sb->s_root->d_inode));
1371 1371
1372 kmem_free(args, sizeof(*args)); 1372 kmem_free(args);
1373 return 0; 1373 return 0;
1374 1374
1375fail_vnrele: 1375fail_vnrele:
@@ -1384,7 +1384,7 @@ fail_unmount:
1384 xfs_unmount(mp, 0, NULL); 1384 xfs_unmount(mp, 0, NULL);
1385 1385
1386fail_vfsop: 1386fail_vfsop:
1387 kmem_free(args, sizeof(*args)); 1387 kmem_free(args);
1388 return -error; 1388 return -error;
1389} 1389}
1390 1390