Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273085
b: refs/heads/master
c: 0aaa618
h: refs/heads/master
i:
  273083: 80739dc
v: v3
  • Loading branch information
Jan Kara committed Oct 31, 2011
1 parent 2167be6 commit edfd7b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a983f368f8986c1ecb64f2947fcf594343130215
refs/heads/master: 0aaa618863c40e86b543debe002d6f65ff5d61d4
7 changes: 5 additions & 2 deletions trunk/fs/quota/quota.c
Original file line number Diff line number Diff line change
Expand Up @@ -363,12 +363,15 @@ SYSCALL_DEFINE4(quotactl, unsigned int, cmd, const char __user *, special,
}

sb = quotactl_block(special);
if (IS_ERR(sb))
return PTR_ERR(sb);
if (IS_ERR(sb)) {
ret = PTR_ERR(sb);
goto out;
}

ret = do_quotactl(sb, type, cmds, id, addr, pathp);

drop_super(sb);
out:
if (pathp && !IS_ERR(pathp))
path_put(pathp);
return ret;
Expand Down

0 comments on commit edfd7b5

Please sign in to comment.