diff options
author | Christoph Hellwig <hch@lst.de> | 2008-09-05 16:43:31 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:07 -0400 |
commit | b214107eda845f9a5851ae198f5b972e0dc30c45 (patch) | |
tree | 9ca3127891a90b72f72477b48217d05fdfcaa83c /fs/btrfs/sysfs.c | |
parent | a237d2a2bd67eb2b57b87c1e1d3d802d078d4ba7 (diff) |
Btrfs: trivial sparse fixes
Fix a bunch of trivial sparse complaints.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/sysfs.c')
-rw-r--r-- | fs/btrfs/sysfs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c index 1cf4f4f8d2ce..61af5d8446e3 100644 --- a/fs/btrfs/sysfs.c +++ b/fs/btrfs/sysfs.c | |||
@@ -254,7 +254,7 @@ void btrfs_sysfs_del_super(struct btrfs_fs_info *fs) | |||
254 | wait_for_completion(&fs->kobj_unregister); | 254 | wait_for_completion(&fs->kobj_unregister); |
255 | } | 255 | } |
256 | 256 | ||
257 | int btrfs_init_sysfs() | 257 | int btrfs_init_sysfs(void) |
258 | { | 258 | { |
259 | btrfs_kset = kset_create_and_add("btrfs", NULL, fs_kobj); | 259 | btrfs_kset = kset_create_and_add("btrfs", NULL, fs_kobj); |
260 | if (!btrfs_kset) | 260 | if (!btrfs_kset) |
@@ -262,7 +262,7 @@ int btrfs_init_sysfs() | |||
262 | return 0; | 262 | return 0; |
263 | } | 263 | } |
264 | 264 | ||
265 | void btrfs_exit_sysfs() | 265 | void btrfs_exit_sysfs(void) |
266 | { | 266 | { |
267 | kset_unregister(btrfs_kset); | 267 | kset_unregister(btrfs_kset); |
268 | } | 268 | } |
@@ -289,12 +289,12 @@ void btrfs_sysfs_del_super(struct btrfs_fs_info *fs) | |||
289 | return; | 289 | return; |
290 | } | 290 | } |
291 | 291 | ||
292 | int btrfs_init_sysfs() | 292 | int btrfs_init_sysfs(void) |
293 | { | 293 | { |
294 | return 0; | 294 | return 0; |
295 | } | 295 | } |
296 | 296 | ||
297 | void btrfs_exit_sysfs() | 297 | void btrfs_exit_sysfs(void) |
298 | { | 298 | { |
299 | return; | 299 | return; |
300 | } | 300 | } |