xfs
[Top] [All Lists]

PARTIAL TAKE 971186 - keep i_nlink updated and use proper accessors

To: sgi.bugs.xfs@xxxxxxxxxxxx, xfs@xxxxxxxxxxx
Subject: PARTIAL TAKE 971186 - keep i_nlink updated and use proper accessors
From: lachlan@xxxxxxx (Lachlan McIlroy)
Date: Mon, 21 Jan 2008 18:14:10 +1100 (EST)
Sender: xfs-bounce@xxxxxxxxxxx
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.


Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Date:  Mon Jan 21 18:13:29 AEDT 2008
Workarea:  redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-hch
Inspected by:  Christoph Hellwig <hch@xxxxxx>
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:30392a
fs/xfs/xfs_utils.c - 1.79 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_utils.c.diff?r1=text&tr1=1.79&r2=text&tr2=1.78&f=h
fs/xfs/linux-2.6/xfs_vnode.c - 1.155 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_vnode.c.diff?r1=text&tr1=1.155&r2=text&tr2=1.154&f=h
fs/xfs/linux-2.6/xfs_iops.c - 1.275 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_iops.c.diff?r1=text&tr1=1.275&r2=text&tr2=1.274&f=h
        - keep i_nlink updated and use proper accessors




<Prev in Thread] Current Thread [Next in Thread>
  • PARTIAL TAKE 971186 - keep i_nlink updated and use proper accessors, Lachlan McIlroy <=