Messages in this thread | | | Date | Thu, 4 Apr 2013 21:45:20 +0400 | Subject | Re: [PATCH v3 6/7] NFSv4: Add O_DENY* open flags support | From | Pavel Shilovsky <> |
| |
2013/4/4 Jeff Layton <jlayton@redhat.com>: > I'd probably still stick with a FS_* flag for this... > > That sort of mechanism would work (for now) but sounds like the sort of > subtle behavior that's difficult for filesystem authors to get right. > It would also be subject to subtle breakage later. > > Also, suppose there are changes in the future that require you to > determine this before calling into ->open? Then you'll have to go back > and somehow mark the fs anyway...
Ok, this makes sense, thanks. Will do it this way and repost.
-- Best regards, Pavel Shilovsky.
| |