From e318037e68076c812a0e8445b622718cb6f46e6d Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Tue, 9 Oct 2012 23:30:17 +0200 Subject: [PATCH] --- yaml --- r: 334376 b: refs/heads/master c: 6c29c50fda25c2ac2ce45a9b042ff7e424aa8eac h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/quota/dquot.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 432c33ab822a..bc7ccc57fa60 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 66415f6b50f5bcbc56c78df54aacee73f3d03a3d +refs/heads/master: 6c29c50fda25c2ac2ce45a9b042ff7e424aa8eac diff --git a/trunk/fs/quota/dquot.c b/trunk/fs/quota/dquot.c index 557a9c20a215..05ae3c97f7a5 100644 --- a/trunk/fs/quota/dquot.c +++ b/trunk/fs/quota/dquot.c @@ -1160,6 +1160,8 @@ static int need_print_warning(struct dquot_warn *warn) return uid_eq(current_fsuid(), warn->w_dq_id.uid); case GRPQUOTA: return in_group_p(warn->w_dq_id.gid); + case PRJQUOTA: /* Never taken... Just make gcc happy */ + return 0; } return 0; }