diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2004-04-09 17:48:32 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2004-04-09 17:48:32 +0000 |
commit | c26c14d8db2072ca1ddc9f9f3133edb3f1c564aa (patch) | |
tree | 5f56f38ae29277f1571436a1abda462a73cc539f /kernel/util.c | |
parent | 2ac5e2a5b478180633f1cff840c54383f41db604 (diff) | |
download | libfuse-c26c14d8db2072ca1ddc9f9f3133edb3f1c564aa.tar.gz |
limit checking
Diffstat (limited to 'kernel/util.c')
-rw-r--r-- | kernel/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/util.c b/kernel/util.c index 6764157..faffb08 100644 --- a/kernel/util.c +++ b/kernel/util.c @@ -22,7 +22,7 @@ spinlock_t fuse_lock = SPIN_LOCK_UNLOCKED; /* Must be called with the fuse lock held */ void fuse_release_conn(struct fuse_conn *fc) { - if(fc->sb == NULL && fc->file == NULL) { + if (fc->sb == NULL && fc->file == NULL) { kfree(fc); } } @@ -36,11 +36,11 @@ int __init fuse_init(void) FUSE_KERNEL_VERSION, FUSE_KERNEL_MINOR_VERSION); res = fuse_fs_init(); - if(res) + if (res) goto err; res = fuse_dev_init(); - if(res) + if (res) goto err_fs_cleanup; return 0; |