git: sys/vfs/hammer: Add comments on ip localization of @@PFS symlink

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Apr 18 05:59:41 PDT 2015


commit 6207f54521e832b4d13104e0ed3bbf2ed8f3972c
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Apr 14 19:06:24 2015 +0900

    sys/vfs/hammer: Add comments on ip localization of @@PFS symlink
    
    - The userspace hammer command shows "You are attempting to access
      a PFS softlink from a PFS..." and exit(1) whenever one tries to
      make a PFS from non root fs directory.
    
    - This restriction by userspace ensures @@PFS symlinks always belong
      to the root fs, in other words ip localization of those symlinks
      are always 0. HAMMER's kernel code doesn't impose this restriction
      on pfs, but userspace does.

Summary of changes:
 sys/vfs/hammer/hammer_vnops.c | 8 ++++++++
 1 file changed, 8 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6207f54521e832b4d13104e0ed3bbf2ed8f3972c


-- 
DragonFly BSD source repository



More information about the Commits mailing list