Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196253
b: refs/heads/master
c: fcbc59f
h: refs/heads/master
i:
  196251: c0e7170
v: v3
  • Loading branch information
Christoph Hellwig authored and Jan Kara committed May 21, 2010
1 parent 5c69c99 commit 20a8f21
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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: c472b43275976512e4c1c32da5ced03f339cb380
refs/heads/master: fcbc59f96e38a0999e827be9d04d46b62b53b20a
4 changes: 0 additions & 4 deletions trunk/fs/quota/quota.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ static int quota_getinfo(struct super_block *sb, int type, void __user *addr)
struct if_dqinfo info;
int ret;

if (!sb_has_quota_active(sb, type))
return -ESRCH;
if (!sb->s_qcop->get_info)
return -ENOSYS;
ret = sb->s_qcop->get_info(sb, type, &info);
Expand All @@ -129,8 +127,6 @@ static int quota_setinfo(struct super_block *sb, int type, void __user *addr)

if (copy_from_user(&info, addr, sizeof(info)))
return -EFAULT;
if (!sb_has_quota_active(sb, type))
return -ESRCH;
if (!sb->s_qcop->set_info)
return -ENOSYS;
return sb->s_qcop->set_info(sb, type, &info);
Expand Down

0 comments on commit 20a8f21

Please sign in to comment.