Re: nfsd4_is_junction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Oct 29, 2011 at 01:45:33PM -0400, J. Bruce Fields wrote:
> Note it also takes the convention that junctions should have the sticky
> bit set without being executable, and it does those checks before
> checking for the xattr, so it shouldn't be doing an xattr read for every
> lookup.
> 
> Grepping for S_NOSEC.... "no suid or xattr security attributes".  But
> "junction.type" isn't a "security attribute", is it?  I may not
> understand what that means.

It's basically to avoid doing getxattr calls if not needed.  So far this
was just for security xattrs, but this one falls into a pretty similar
category.

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux