summaryrefslogtreecommitdiff
path: root/include/linux/mbcache.h
diff options
context:
space:
mode:
authorAlexander Viro <viro@parcelfarce.linux.theplanet.co.uk>2003-05-20 06:58:17 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-20 06:58:17 -0700
commit32ccd2b61dfd05401528b27770ab3cd22b143641 (patch)
tree01cd62e23876962215deb49c4ff7105a65bdddfd /include/linux/mbcache.h
parentecdb306381de9308a484c29b28c03e2686aa00ae (diff)
[PATCH] seq_path(), /proc/mounts and /proc/swaps
This adds a new seq_...() helper: seq_path(seq_file, mnt, dentry, escape) It spits the pathname into seq_file, does octal escapes for given set of characters, returns the number of characters it'd produced or -1 in case of error. Long names are handled gracefully - you don't need anything to do, generic seq_file logics will do the right thing. /proc/mounts and /proc/swaps are converted to use of seq_path(), some junk removed. /proc/pid/maps will be converted next.
Diffstat (limited to 'include/linux/mbcache.h')
0 files changed, 0 insertions, 0 deletions