- if (oldflags != -1) {
- down(&inode->i_sem);
- down_write(&dqopt->dqptr_sem);
- /* Reset the NOATIME flag back. I know it could change in the
- * mean time but playing with NOATIME flags on a quota file is
- * never a good idea */
- inode->i_flags &= ~(S_NOATIME | S_NOQUOTA);
- inode->i_flags |= oldflags;
- up_write(&dqopt->dqptr_sem);
- up(&inode->i_sem);
- }