locks: Use inode_is_open_for_write
Use the aptly named function rather than open coding it. No functional changes. Signed-off-by: NNikolay Borisov <nborisov@suse.com> Signed-off-by: NJeff Layton <jlayton@kernel.org>
Showing
想要评论请 注册 或 登录