X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=Documentation%2Ffilesystems%2Fporting;h=b1bd05ea66b2d42fae1fcc34d5ddb91ead15eed5;hb=a74306fe94c82429fd0ec9f4316de90b405012d2;hp=a5fb89cac615c1c3fe0091b602932dcf29c9dc9d;hpb=2869576d0f531757f0dc6897f5f6578b3ad7c6c1;p=cascardo%2Flinux.git diff --git a/Documentation/filesystems/porting b/Documentation/filesystems/porting index a5fb89cac615..b1bd05ea66b2 100644 --- a/Documentation/filesystems/porting +++ b/Documentation/filesystems/porting @@ -585,3 +585,10 @@ in your dentry operations instead. in the instances. Rationale: !@#!@# security_d_instantiate() needs to be called before we attach dentry to inode and !@#!@##!@$!$#!@#$!@$!@$ smack ->d_instantiate() uses not just ->getxattr() but ->setxattr() as well. +-- +[mandatory] + ->d_compare() doesn't get parent as a separate argument anymore. If you + used it for finding the struct super_block involved, dentry->d_sb will + work just as well; if it's something more complicated, use dentry->d_parent. + Just be careful not to assume that fetching it more than once will yield + the same value - in RCU mode it could change under you.