Re: [PATCH v3 6/7] NFSv4: Add O_DENY* open flags support
From: Pavel Shilovsky
Date: Thu Apr 04 2013 - 13:45:26 EST
2013/4/4 Jeff Layton <jlayton@xxxxxxxxxx>:
> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/