diff options
author | Ravishankar N <cyberax82@gmail.com> | 2012-12-21 00:05:46 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-21 02:40:20 +0100 |
commit | c39540c6d1add1d0ad843b3d2437311924193359 (patch) | |
tree | 5ae43f403927e7822897cc423565442fc4bdb360 /fs/fat/misc.c | |
parent | Documentation: ABI: remove testing/sysfs-devices-node (diff) | |
download | linux-c39540c6d1add1d0ad843b3d2437311924193359.tar.xz linux-c39540c6d1add1d0ad843b3d2437311924193359.zip |
fat: fix incorrect function comment
fat_search_long() returns 0 on success, -ENOENT/ENOMEM on failure.
Change the function comment accordingly.
While at it, fix some trivial typos.
Signed-off-by: Ravishankar N <cyberax82@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fat/misc.c')
-rw-r--r-- | fs/fat/misc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/fat/misc.c b/fs/fat/misc.c index 5eb600dc43a9..359d307b5507 100644 --- a/fs/fat/misc.c +++ b/fs/fat/misc.c @@ -135,6 +135,10 @@ int fat_chain_add(struct inode *inode, int new_dclus, int nr_cluster) } if (ret < 0) return ret; + /* + * FIXME:Although we can add this cache, fat_cache_add() is + * assuming to be called after linear search with fat_cache_id. + */ // fat_cache_add(inode, new_fclus, new_dclus); } else { MSDOS_I(inode)->i_start = new_dclus; |