diff options
Diffstat (limited to 'Documentation/filesystems/porting')
-rw-r--r-- | Documentation/filesystems/porting | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/filesystems/porting b/Documentation/filesystems/porting index 0f88e6020487..f1b87d8aa2da 100644 --- a/Documentation/filesystems/porting +++ b/Documentation/filesystems/porting | |||
@@ -508,7 +508,11 @@ in your dentry operations instead. | |||
508 | [mandatory] | 508 | [mandatory] |
509 | any symlink that might use page_follow_link_light/page_put_link() must | 509 | any symlink that might use page_follow_link_light/page_put_link() must |
510 | have inode_nohighmem(inode) called before anything might start playing with | 510 | have inode_nohighmem(inode) called before anything might start playing with |
511 | its pagecache. | 511 | its pagecache. No highmem pages should end up in the pagecache of such |
512 | symlinks. That includes any preseeding that might be done during symlink | ||
513 | creation. __page_symlink() will honour the mapping gfp flags, so once | ||
514 | you've done inode_nohighmem() it's safe to use, but if you allocate and | ||
515 | insert the page manually, make sure to use the right gfp flags. | ||
512 | -- | 516 | -- |
513 | [mandatory] | 517 | [mandatory] |
514 | ->follow_link() is replaced with ->get_link(); same API, except that | 518 | ->follow_link() is replaced with ->get_link(); same API, except that |