porting.rst (74656d03ac36fabb16b9df5221cf398ee3a9ca08) | porting.rst (863f144f12add1f4eab80b70561a90857c524a8b) |
---|---|
1==================== 2Changes since 2.5.0: 3==================== 4 5--- 6 7**recommended** 8 --- 908 unchanged lines hidden (view full) --- 917 918--- 919 920**mandatory** 921 922no_llseek is gone; don't set .llseek to that - just leave it NULL instead. 923Checks for "does that file have llseek(2), or should it fail with ESPIPE" 924should be done by looking at FMODE_LSEEK in file->f_mode. | 1==================== 2Changes since 2.5.0: 3==================== 4 5--- 6 7**recommended** 8 --- 908 unchanged lines hidden (view full) --- 917 918--- 919 920**mandatory** 921 922no_llseek is gone; don't set .llseek to that - just leave it NULL instead. 923Checks for "does that file have llseek(2), or should it fail with ESPIPE" 924should be done by looking at FMODE_LSEEK in file->f_mode. |
925 926--- 927 928**mandatory** 929 930Calling conventions for ->tmpfile() have changed. It now takes a struct 931file pointer instead of struct dentry pointer. d_tmpfile() is similarly 932changed to simplify callers. The passed file is in a non-open state and on 933success must be opened before returning (e.g. by calling 934finish_open_simple()). |
|