[GFS2] Tidy up dir code as per Christoph Hellwig's comments
1. Comment whitespace fix 2. Removed unused header files from dir.c 3. Split the gfs2_dir_get_buffer() function into two functions Cc: Christoph Hellwig <hch@infradead.org> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
@@ -111,7 +111,7 @@ int gfs2_unstuff_dinode(struct gfs2_inode *ip, gfs2_unstuffer_t unstuffer,
|
||||
if (isdir) {
|
||||
block = gfs2_alloc_meta(ip);
|
||||
|
||||
error = gfs2_dir_get_buffer(ip, block, 1, &bh);
|
||||
error = gfs2_dir_get_new_buffer(ip, block, &bh);
|
||||
if (error)
|
||||
goto out_brelse;
|
||||
gfs2_buffer_copy_tail(bh,
|
||||
|
Reference in New Issue
Block a user