diff options
author | Christoph Hellwig <hch@infradead.org> | 2008-02-05 12:13:53 +1100 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-02-07 18:23:38 +1100 |
commit | 4188c78d951d8a44630f4c33bc0f5b63374572a4 (patch) | |
tree | f550ffdc10f87cd6fe553fc3fd9093dba04d1c57 /fs/xfs/xfs_vfsops.c | |
parent | 222096ae7f7616caa9e4150948096160cc8a8141 (diff) | |
download | op-kernel-dev-4188c78d951d8a44630f4c33bc0f5b63374572a4.zip op-kernel-dev-4188c78d951d8a44630f4c33bc0f5b63374572a4.tar.gz |
[XFS] keep i_nlink updated and use proper accessors
To get the read-only bind mounts in -mm to work correctly with XFS we need
to call the drop_nlink and inc_nlink helpers to monitor the link count.
Add calls to these to xfs_bumplink and xfs_droplink and stop copying over
di_nlink to i_nlink in xfs_validate_fields and vn_revalidate.
SGI-PV: 971186
SGI-Modid: xfs-linux-melb:xfs-kern:30392a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
0 files changed, 0 insertions, 0 deletions