]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfsprogs: libxcmd: simplify fs_table_lookup()
authorAlex Elder <aelder@sgi.com>
Wed, 28 Sep 2011 10:57:09 +0000 (10:57 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 29 Sep 2011 14:30:46 +0000 (09:30 -0500)
commit80a3572bac57373ccf78ba0db346d25a108a4afa
tree82d86db20fa60fe784854c38227d3fd3baaaec27
parent8e96bcac0bf561e78b3d226a6287e84194d0802b
xfsprogs: libxcmd: simplify fs_table_lookup()

Move a block of invariant code out of the loop in fs_table_lookup(),
and add a few comments.

Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxcmd/paths.c