linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Shilovsky <piastryyy@gmail.com>
To: Steve French <smfrench@gmail.com>
Cc: "Aurélien Aptel" <aaptel@suse.com>, CIFS <linux-cifs@vger.kernel.org>
Subject: Re: [PATCH][SMB3] Query timestamps on file close
Date: Tue, 3 Dec 2019 11:18:54 -0800	[thread overview]
Message-ID: <CAKywueS7sVnbBCgc0Cc8NoqDsbEWVh2iMU7fBuoTS_2v-Hjw-A@mail.gmail.com> (raw)
In-Reply-To: <CAH2r5mu9gs+wV+s1=HC9bS0Rb1KY1uJ5ZQFZsCNycGGJH50kCA@mail.gmail.com>

The inode locking is missed in the patch. See cifs_fattr_to_inode()
that takes inode->i_lock to atomically update all the attributes. The
similar thing is needed in +smb2_close_getattr().

--
Best regards,
Pavel Shilovsky

вт, 3 дек. 2019 г. в 10:05, Steve French <smfrench@gmail.com>:
>
> Fixed typo, and added the update of AllocationSize (and added reviewed
> by). See attached.
>

  reply	other threads:[~2019-12-03 19:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-03  9:37 [PATCH][SMB3] Query timestamps on file close Steve French
2019-12-03 16:45 ` Aurélien Aptel
2019-12-03 18:02   ` Steve French
2019-12-03 19:18     ` Pavel Shilovsky [this message]
2019-12-03 21:49       ` Steve French
2019-12-03 22:16         ` Pavel Shilovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKywueS7sVnbBCgc0Cc8NoqDsbEWVh2iMU7fBuoTS_2v-Hjw-A@mail.gmail.com \
    --to=piastryyy@gmail.com \
    --cc=aaptel@suse.com \
    --cc=linux-cifs@vger.kernel.org \
    --cc=smfrench@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).