X-Git-Url: https://git.codelabs.ch/?p=muen%2Flinux.git;a=blobdiff_plain;f=Documentation%2Ffilesystems%2Fporting;h=c68ea9294b5f02462f2f623daab6ac283b7f27ac;hp=17bb4dc28fae03371c328cc2135b576c4235ab03;hb=6c9b1de172bdd0450d56e2cb3b2da5fc1833619e;hpb=64e1ac4d46f9f5d8284aefb97e1b550dbb26abe8;ds=inline diff --git a/Documentation/filesystems/porting b/Documentation/filesystems/porting index 17bb4dc28fae..c68ea9294b5f 100644 --- a/Documentation/filesystems/porting +++ b/Documentation/filesystems/porting @@ -602,3 +602,11 @@ in your dentry operations instead. dentry separately, and it now has request_mask and query_flags arguments to specify the fields and sync type requested by statx. Filesystems not supporting any statx-specific features may ignore the new arguments. +-- +[mandatory] + ->atomic_open() calling conventions have changed. Gone is int *opened, + along with FILE_OPENED/FILE_CREATED. In place of those we have + FMODE_OPENED/FMODE_CREATED, set in file->f_mode. Additionally, return + value for 'called finish_no_open(), open it yourself' case has become + 0, not 1. Since finish_no_open() itself is returning 0 now, that part + does not need any changes in ->atomic_open() instances.