• C
    f2fs: use true and false for boolean variable · 01d2d1aa
    Chao Yu 提交于
    The inode_page_locked should be a boolean variable.
    
    struct dnode_of_data {
    	struct inode *inode;            /* vfs inode pointer */
    	struct page *inode_page;        /* its inode page, NULL is possible */
    	struct page *node_page;         /* cached direct node page */
    	nid_t nid;                      /* node id of the direct node block */
    	unsigned int ofs_in_node;       /* data offset in the node page */
    ==>	bool inode_page_locked;         /* inode page is locked or not */
    	block_t data_blkaddr;           /* block address of the node block */
    };
    Signed-off-by: NChao Yu <chao2.yu@samsung.com>
    [Jaegeuk Kim: add description]
    Signed-off-by: NJaegeuk Kim <jaegeuk.kim@samsung.com>
    01d2d1aa
node.c 43.7 KB