summaryrefslogtreecommitdiffstats
path: root/fs/proc
diff options
context:
space:
mode:
authorTao Ma <boyu.mt@taobao.com>2012-12-10 14:05:57 -0500
committerTheodore Ts'o <tytso@mit.edu>2012-12-10 14:05:57 -0500
commita774f9c20e08643fc0e6c48b0419ad7657ed0c04 (patch)
treede774f5b58346174e1e867dbf49f7c4604544d48 /fs/proc
parent9c3569b50f12e47cc5e907b5e37e4a45c0c10b43 (diff)
downloadlinux-a774f9c20e08643fc0e6c48b0419ad7657ed0c04.tar.gz
linux-a774f9c20e08643fc0e6c48b0419ad7657ed0c04.tar.bz2
linux-a774f9c20e08643fc0e6c48b0419ad7657ed0c04.zip
ext4: make ext4_init_dot_dotdot for inline dir usage
Currently, the initialization of dot and dotdot are encapsulated in ext4_mkdir and also bond with dir_block. So create a new function named ext4_init_new_dir and the initialization is moved to ext4_init_dot_dotdot. Now it will called either in the normal non-inline case(rec_len of ".." will cover the whole block) or when we converting an inline dir to a block(rec len of ".." will be the real length). The start of the next entry is also returned for inline dir usage. Signed-off-by: Tao Ma <boyu.mt@taobao.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/proc')
0 files changed, 0 insertions, 0 deletions