mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 20:54:10 +08:00
94ee1d9151
Remove filenames that are not particularly useful in file comments, and suppress checkpatch warnings WARNING: It's generally not useful to have the filename in the file Link: https://lkml.kernel.org/r/1635151862-11547-3-git-send-email-konishi.ryusuke@gmail.com Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com> Cc: Qing Wang <wangqing@vivo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
29 lines
634 B
C
29 lines
634 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* NILFS direct block pointer.
|
|
*
|
|
* Copyright (C) 2006-2008 Nippon Telegraph and Telephone Corporation.
|
|
*
|
|
* Written by Koji Sato.
|
|
*/
|
|
|
|
#ifndef _NILFS_DIRECT_H
|
|
#define _NILFS_DIRECT_H
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/buffer_head.h>
|
|
#include "bmap.h"
|
|
|
|
|
|
#define NILFS_DIRECT_NBLOCKS (NILFS_BMAP_SIZE / sizeof(__le64) - 1)
|
|
#define NILFS_DIRECT_KEY_MIN 0
|
|
#define NILFS_DIRECT_KEY_MAX (NILFS_DIRECT_NBLOCKS - 1)
|
|
|
|
|
|
int nilfs_direct_init(struct nilfs_bmap *);
|
|
int nilfs_direct_delete_and_convert(struct nilfs_bmap *, __u64, __u64 *,
|
|
__u64 *, int);
|
|
|
|
|
|
#endif /* _NILFS_DIRECT_H */
|