diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-04-24 10:07:13 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-04-24 10:07:13 -0400 |
commit | 61e085a88cb59232eb8ff5b446d70491c7bf2c68 (patch) | |
tree | a1e0bb72b6a79ee8700fefc8190e48a6c78d33cd /fs/gfs2/bmap.c | |
parent | 1e09ae544eb1a2d11b04c6924f738a310c7a7a2b (diff) |
[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>
Diffstat (limited to 'fs/gfs2/bmap.c')
-rw-r--r-- | fs/gfs2/bmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c index c7723119acb6..68bc3be09c98 100644 --- a/fs/gfs2/bmap.c +++ b/fs/gfs2/bmap.c | |||
@@ -111,7 +111,7 @@ int gfs2_unstuff_dinode(struct gfs2_inode *ip, gfs2_unstuffer_t unstuffer, | |||
111 | if (isdir) { | 111 | if (isdir) { |
112 | block = gfs2_alloc_meta(ip); | 112 | block = gfs2_alloc_meta(ip); |
113 | 113 | ||
114 | error = gfs2_dir_get_buffer(ip, block, 1, &bh); | 114 | error = gfs2_dir_get_new_buffer(ip, block, &bh); |
115 | if (error) | 115 | if (error) |
116 | goto out_brelse; | 116 | goto out_brelse; |
117 | gfs2_buffer_copy_tail(bh, | 117 | gfs2_buffer_copy_tail(bh, |