diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2014-02-09 08:06:27 -0500 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2014-03-03 05:30:59 -0500 |
commit | 8ccb154c0e9b316999f518dd5fd0a4d2db3089af (patch) | |
tree | 69c7890732aecd5f277f13b7ee7d56cca4d1f3f8 /fs/ext3 | |
parent | 17cd48e488c0a07186ad35af2a02738cfc1c1229 (diff) |
fs: Mark function as static in ext3/dir.c
Mark function as static in ext3/dir.c because it is not used outside
this file.
This also eliminates the following warning in ext3/dir.c:
fs/ext3/dir.c:278:8: warning: no previous prototype for ‘ext3_dir_llseek’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext3')
-rw-r--r-- | fs/ext3/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext3/dir.c b/fs/ext3/dir.c index e66e4808719f..17742eed2c16 100644 --- a/fs/ext3/dir.c +++ b/fs/ext3/dir.c | |||
@@ -275,7 +275,7 @@ static inline loff_t ext3_get_htree_eof(struct file *filp) | |||
275 | * NOTE: offsets obtained *before* ext3_set_inode_flag(dir, EXT3_INODE_INDEX) | 275 | * NOTE: offsets obtained *before* ext3_set_inode_flag(dir, EXT3_INODE_INDEX) |
276 | * will be invalid once the directory was converted into a dx directory | 276 | * will be invalid once the directory was converted into a dx directory |
277 | */ | 277 | */ |
278 | loff_t ext3_dir_llseek(struct file *file, loff_t offset, int whence) | 278 | static loff_t ext3_dir_llseek(struct file *file, loff_t offset, int whence) |
279 | { | 279 | { |
280 | struct inode *inode = file->f_mapping->host; | 280 | struct inode *inode = file->f_mapping->host; |
281 | int dx_dir = is_dx_dir(inode); | 281 | int dx_dir = is_dx_dir(inode); |