diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2019-11-12 11:49:04 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2019-11-12 11:49:04 +0100 |
commit | c634da718db9b2fac201df2ae1b1b095344ce5eb (patch) | |
tree | 62dc321971b2bd1b977939d5ba69cb5052760450 /fs/fuse/virtio_fs.c | |
parent | fuse: verify write return (diff) | |
download | linux-c634da718db9b2fac201df2ae1b1b095344ce5eb.tar.xz linux-c634da718db9b2fac201df2ae1b1b095344ce5eb.zip |
fuse: verify nlink
When adding a new hard link, make sure that i_nlink doesn't overflow.
Fixes: ac45d61357e8 ("fuse: fix nlink after unlink")
Cc: <stable@vger.kernel.org> # v3.4
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/virtio_fs.c')
0 files changed, 0 insertions, 0 deletions