UBUNTU: ubuntu: AUFS -- track changes to the arguements to fop fsync()
authorAndy Whitcroft <apw@canonical.com>
Thu, 3 Jun 2010 07:40:41 +0000 (08:40 +0100)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 28 Mar 2011 13:48:45 +0000 (06:48 -0700)
commit0c32a8b72a396a5b39138021aeec60d3615b3e65
tree339b489697734b4a5dcaa2d097942825be86077f
parent08aa1e01361749677c0095ac2608f6d7e99c4cf4
UBUNTU: ubuntu: AUFS -- track changes to the arguements to fop fsync()

The file operation fsync dropped an unused struct dentry parameter,
apply this change to aufs2:

  commit 7ea8085910ef3dd4f3cad6845aaa2b580d39b115
  Author: Christoph Hellwig <hch@lst.de>
  Date:   Wed May 26 17:53:25 2010 +0200

    drop unused dentry argument to ->fsync

WARNING: this currently removes support for syncing some forms of aufs
directory as we are now required to have a filp to sync against and aufs
does not always have them.  I have added a WARN_ON to try and track the
triggers for this mode if any.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
ubuntu/aufs/dir.c
ubuntu/aufs/f_op.c