quota: check time limit when back out space/inode change
authorChengguang Xu <cgxu519@gmx.com>
Tue, 30 Apr 2019 06:40:10 +0000 (14:40 +0800)
committerJan Kara <jack@suse.cz>
Tue, 30 Apr 2019 16:05:55 +0000 (18:05 +0200)
commit632a9f3acd6687376cbb0b178df6048e19cbacc9
treead979ed85168a32d15ea8d1d8f0c99bdb38a3719
parent78bc3334a69ff289dbc973a9db7c52a2d7757e5b
quota: check time limit when back out space/inode change

When we fail from allocating inode/space, we back out
the change we already did. In a special case which has
exceeded soft limit by the change, we should also check
time limit and reset it properly.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/dquot.c