summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_map.c
diff options
context:
space:
mode:
authorhujianyang <hujianyang@huawei.com>2014-12-11 03:30:18 +0100
committerMiklos Szeredi <mszeredi@suse.cz>2015-01-09 14:55:57 +0100
commit4330397e4e8a662f36d101659e2a59ce32e76ff4 (patch)
tree77ad4a8e29eaa3a02a88ab358569817e7991ab5f /fs/btrfs/extent_map.c
parentovl: document lower layer ordering (diff)
downloadlinux-4330397e4e8a662f36d101659e2a59ce32e76ff4.tar.xz
linux-4330397e4e8a662f36d101659e2a59ce32e76ff4.zip
ovl: discard independent cursor in readdir()
Since the ovl_dir_cache is stable during a directory reading, the cursor of struct ovl_dir_file don't need to be an independent entry in the list of a merged directory. This patch changes *cursor* to a pointer which points to the entry in the ovl_dir_cache. After this, we don't need to check *is_cursor* either. Signed-off-by: hujianyang <hujianyang@huawei.com> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/btrfs/extent_map.c')
0 files changed, 0 insertions, 0 deletions