diff options
author | 2010-05-09 03:01:32 +0900 | |
---|---|---|
committer | 2010-05-10 11:32:33 +0900 | |
commit | 4571b82cdcd076a3b8ecaddcf9846cb52f9979e5 (patch) | |
tree | f7a69603d07fbfd14da3e0abaa13dd493d4c2f19 /include/linux/kobject.h | |
parent | nilfs2: fix misuse of open_bdev_exclusive/close_bdev_exclusive (diff) | |
download | wireguard-linux-4571b82cdcd076a3b8ecaddcf9846cb52f9979e5.tar.xz wireguard-linux-4571b82cdcd076a3b8ecaddcf9846cb52f9979e5.zip |
nilfs2: add missing initialization of s_mode
An fmode_t argument is passed to kill_block_super() through s_mode
member of the super_block structure. This is used to release the
block device with the same mode, however, nilfs does not set s_mode
anywhere.
This modifies nilfs_get_sb function to properly initialize the s_mode
member.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'include/linux/kobject.h')
0 files changed, 0 insertions, 0 deletions