don't encode parent in nfs filehandles unless nessecary
As Dave pointed out after the export ops changes we now always encode
the parent into the filehandle for regular files, but it's not actually
needed when the filesystem is export with no_subtree_check. This
one-liner fixes xfs_fs_encode_fh to skip encoding the parent unless
nessecary.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Date: Fri Feb 22 15:25:17 AEDT 2008
Workarea: redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-hch
Inspected by: lachlan
Author: lachlan
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:30535a
fs/xfs/linux-2.6/xfs_export.c - 1.20 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_export.c.diff?r1=text&tr1=1.20&r2=text&tr2=1.19&f=h
- don't encode parent in nfs filehandles unless nessecary
|