summaryrefslogtreecommitdiffstats
path: root/fs/cifs/dns_resolve.h
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2018-07-24 22:43:14 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2018-07-26 19:15:15 +0200
commitd5cca7eb244d276177a57e42494d479742bbba37 (patch)
treeb4d16a1a806530db2a67d47efa88f65a3557273c /fs/cifs/dns_resolve.h
parentxfs: remove all boilerplate defer init/finish code (diff)
downloadlinux-d5cca7eb244d276177a57e42494d479742bbba37.tar.xz
linux-d5cca7eb244d276177a57e42494d479742bbba37.zip
xfs: remove unnecessary dfops init calls in xattr code
Each xfs_defer_init() call in the xattr code uses the internal dfops reference. In addition, a successful xfs_defer_finish() always returns with a reset xfs_defer_ops structure. Given that along with the fact that every xfs_defer_init() call in the xattr code is followed up by an xfs_defer_finish(), the former calls are no longer necessary and can be removed. Note that the xfs_defer_init() call in the remote value copy loop of xfs_attr_rmtval_set() is not followed by a finish, but the dfops is unused in this instance. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Bill O'Donnell <billodo@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/cifs/dns_resolve.h')
0 files changed, 0 insertions, 0 deletions