summaryrefslogtreecommitdiffstats
path: root/include/fs.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-10-08 14:01:37 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-10-08 16:09:17 +0200
commit4f7a18cdb58aaef1c265e0359608a465355d9863 (patch)
tree1dedd2e995bf465bc7e4f4fb6d5959f31e158092 /include/fs.h
parent59f91ec6c0d448acc041e33d48be1c66214da317 (diff)
downloadbarebox-4f7a18cdb58aaef1c265e0359608a465355d9863.tar.gz
barebox-4f7a18cdb58aaef1c265e0359608a465355d9863.tar.xz
fs: Store the path in struct filep
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/fs.h')
-rw-r--r--include/fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fs.h b/include/fs.h
index c3ce81ae98..6eddb2312f 100644
--- a/include/fs.h
+++ b/include/fs.h
@@ -24,6 +24,7 @@ typedef struct dir {
typedef struct filep {
struct fs_device_d *fsdev; /* The device this FILE belongs to */
+ char *path;
loff_t pos; /* current position in stream */
#define FILE_SIZE_STREAM ((loff_t) -1)
loff_t size; /* The size of this inode */