]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: remove unused libxfs_iget arg
authorEric Sandeen <sandeen@redhat.com>
Sun, 2 Oct 2016 23:36:40 +0000 (10:36 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 2 Oct 2016 23:36:40 +0000 (10:36 +1100)
commit81f8132ae3611a6e7bd5bd8adeb68f71a64a7796
treedfd374df90140d029ab4f62e04117dd0d920d7f7
parent753a71d46f0ff5899169edde517feb3825171ad2
libxfs: remove unused libxfs_iget arg

libxfs_iget() is always called with bno == 0.  Which is probably a
good thing, because it then passes bno to xfs_iread as iget_flags!

So remove the libxfs_iget arg, and explicitly pass 0 to xfs_iread
for flags.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
db/attrset.c
include/xfs_inode.h
libxfs/rdwr.c
libxfs/trans.c
repair/phase6.c