On Mon, Jul 23, 2018 at 10:48:37AM +0900, 이준일/연구원/MC연구소 BSP실 BSP6팀(junil0814.lee@xxxxxxx) wrote: > Then, I have a question. > quotactl() doesn't have case only to set limits flag, the routine to set > the DQUOT_LIMITS_ENABLED flag is under dquot_enable() function. > According to this logic, if users makes duplicate request to set > DQUOT_LIMITS_ENABLED flags, can lockdep make the false alarm with ext4 ? With the upstream kernel, if you call quotactl with the Q_QUOTAON command, it will fail with EEXIST before it ever gets to the file system specific quota code. This happens in dquot_quota_enable() in fs/quota/dquot.c. I'm going to guess you didn't try to reproduce the problem with the latest mainstream kernel, and then applied the patch, and verified the problem went away before you submitted it? Regards, - Ted